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

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.3, 1.9
    • 1.8.2
    • Themes
    • None
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      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

            urshunkler Urs Hunkler
            soben Leang Chumsoben
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.