Bible Desktop
  1. Bible Desktop
  2. BD-173

For modules with a RtL script, the study notes pane becomes variable width

    Details

    • Type: Bug Bug
    • Status: Open (View Workflow)
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: book display
    • Labels:
      None
    • Environment:

      Win7 64-bit

      Description

      For modules with a RtL script, the study notes pane becomes variable width, with the unfortunate result that any passage with a very long footnote causes the pane to be so wide as to require horizontal scrolling, the main biblical text being shifted so far to the right of the window.

      The problem seems to be that the automatic word wrapping of notes text which occurs in LtR scripts does not come into play for RtL scripts.

      First observed in the module GLK that I have installed manually, after extracting it from the download at http://gilakmedia.com/en/software

      The module is for the Gospel of John in Gilaki, which is a minority language of Iran.

      The issue is especially observable in John 1, as John 1:51 contains a very long note.

      1. BD_GLK_Jn1.png
        75 kB
      2. GLK.png
        195 kB

        Activity

        Hide
        David Haslam added a comment -

        Screenshot illustrating the issue.

        Show
        David Haslam added a comment - Screenshot illustrating the issue.
        Hide
        David Haslam added a comment -

        The GLK module was made for xulsword (aka MK), but displays more or less OK in Xiphos as well as in MK.

        xulsword would automatically install the required font XB Niloofar as specified in glk.conf

        If you need to install the font manually, visit http://wiki.irmug.org/index.php/X_Series_2

        Show
        David Haslam added a comment - The GLK module was made for xulsword (aka MK), but displays more or less OK in Xiphos as well as in MK. xulsword would automatically install the required font XB Niloofar as specified in glk.conf If you need to install the font manually, visit http://wiki.irmug.org/index.php/X_Series_2
        Hide
        DM Smith added a comment -

        This is really unfortunate. The CSS for the page specifies 20% for notes and 80% for text. However, this is not followed by the renderer that Java provides. It seems that there is a need for TABLE

        { width:100% }

        .

        I'm trying to figure out a simple way for you to see/test this with the current and/or nightly build.

        Show
        DM Smith added a comment - This is really unfortunate. The CSS for the page specifies 20% for notes and 80% for text. However, this is not followed by the renderer that Java provides. It seems that there is a need for TABLE { width:100% } . I'm trying to figure out a simple way for you to see/test this with the current and/or nightly build.
        Hide
        DM Smith added a comment -

        This is better.

        Show
        DM Smith added a comment - This is better.
        Hide
        DM Smith added a comment -

        The problem was twofold:

        1. There was no Direction=RtoL – To make it appear as Right to Left
        2. it needed the CSS TABLE { width:100% }

          – To make the column width take effect

        I also flipped the notes and text columns. I may change it back.

        There is another problem with BD in that it does not know to flip the UI for the glk locale. If the user uses "fa" for their locale, it will do the right thing.

        Show
        DM Smith added a comment - The problem was twofold: There was no Direction=RtoL – To make it appear as Right to Left it needed the CSS TABLE { width:100% } – To make the column width take effect I also flipped the notes and text columns. I may change it back. There is another problem with BD in that it does not know to flip the UI for the glk locale. If the user uses "fa" for their locale, it will do the right thing.

          People

          • Assignee:
            DM Smith
            Reporter:
            David Haslam
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: