Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-10704

CSS letter-spacing or text-align: justify; break rendering for Khmer

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.8.3, 1.9
    • Component/s: Themes
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      Hello all,

      P.S. This is just the copy of my topic at http://moodle.org/mod/forum/discuss.php?d=76930

      As you can see in the discussion at http://www.khmeros.info/drupal/?q=en/node/743#comment-1467, using letter-spacing (or text-align: justify) in CSS will break Khmer rendering. I have observed there is the use of letter-spacing in /theme/standard/styles_fonts.css. Other themes might use this CSS option as well.

      I am not sure about the benefits behind this CSS option, but I suggest not to use it if it is just for the nice-looking purpose.

      I have included some screenshots:

      <img src=http://farm2.static.flickr.com/1048/944927979_93c9d44913_o.jpg>
      <em>The more value the letter-spacing is, the more it breaks Khmer rendering.</em>

      <img src=http://farm2.static.flickr.com/1199/944925035_d4e13de664_o.jpg>
      <em>After commenting out the letter-spacing, I got this fine rendering.</em>

      Related issue: http://moodle.org/mod/forum/discuss.php?d=68330#p327016

      Soben

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Oct/07