Uploaded image for project: 'Bible Desktop'
  1. Bible Desktop
  2. BD-173

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

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: 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.

        Attachments

          Activity

          Hide
          dfh David Haslam added a comment -

          Screenshot illustrating the issue.

          Show
          dfh David Haslam added a comment - Screenshot illustrating the issue.
          Hide
          dfh 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
          dfh 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
          dmsmith 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
          dmsmith 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
          dmsmith DM Smith added a comment -

          This is better.

          Show
          dmsmith DM Smith added a comment - This is better.
          Hide
          dmsmith 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
          dmsmith 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:
              dmsmith DM Smith
              Reporter:
              dfh David Haslam
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: