Difference between revisions of "Tibetan Unicode Test Page"

From Digital Tibetan
Jump to: navigation, search
(Harfbuzz test)
(Affected platforms)
Line 38: Line 38:
  
 
===Affected platforms===
 
===Affected platforms===
Harfbuzz libraries are used by Firefox, Chrome (incl. v60, all platforms and all OS), LibreOffice 5.3, 5.4 (all OS), Android and Linux.
+
Harfbuzz libraries are used by Firefox, Chrome (incl. v60, v61, all platforms and all OS), LibreOffice 5.3, 5.4 (all OS), Android and Linux. Generally Software released in the timeframe 2016 - Sep-2017 might be affected, and needs to be updated to the most recent version. A fix is now available for almost all software packages (10-2017)
 
* [https://github.com/behdad/harfbuzz/issues/417 bug-tracker] [Fixed in harfbuzz release version 1.4.7, 2017-07-18.]
 
* [https://github.com/behdad/harfbuzz/issues/417 bug-tracker] [Fixed in harfbuzz release version 1.4.7, 2017-07-18.]
'''Note:''' While the harfbuzz library has been fixed with version 1.4.7, many software-packages that package harfbuzz have not been updated by the time of this writing (Aug/2017).
 
 
* Arch Linux: up-to-date harfbuzz, all apps (e.g. chromium v60, LibreOffice 5.4): '''OK'''
 
* Arch Linux: up-to-date harfbuzz, all apps (e.g. chromium v60, LibreOffice 5.4): '''OK'''
* macOS: applications on macOS usually package a version of harfbuzz. Chrome v61 [packages harfbuzz 1.4.6, too old] still uses outdated versions of harfbuzz, and the bug is therefor '''not yet fixed''' on those platforms.
+
* macOS: applications on macOS usually package a version of harfbuzz. Most software packages (e.g. LibreOffice, Chrome) are updated by now. '''OK'''
* macOS: Update: Chrome canary (v62.0.3196.0 / 2017-08-26) contains the fixed version of harfbuzz. '''OK'''  
+
 
====Libre Office====
 
====Libre Office====
* This [https://bugs.documentfoundation.org/show_bug.cgi?id=109142 Libre Office bug report] monitors the integration of the fix into LibreOffice.
+
* The fix is integrated in LibreOffice 5.4.2, released 04-Oct-2017. '''OK'''
* '''Update''': The fix is integrated in LibreOffice 5.4.2, released 04-Oct-2017. '''OK'''
+
 
====Google Chrome====
 
====Google Chrome====
* The harfbuzz fix is included with upcoming v62.0.3196.0 [Currently (2017-08-26) available in latest Chrome Canary test version]
+
* The harfbuzz fix is included with Chrome and Chromium versions 62.0.3202.6 (Oct-2017). '''OK'''
 
====Android====
 
====Android====
 
* Android 7.x (2016) and 8.0 (2017) are affected. No fix is available until Android OS updates it's outdated harfbuzz libraries. See: [[Tibetan support in Android]] for more information about Tibetan support in Android.
 
* Android 7.x (2016) and 8.0 (2017) are affected. No fix is available until Android OS updates it's outdated harfbuzz libraries. See: [[Tibetan support in Android]] for more information about Tibetan support in Android.

Revision as of 09:16, 19 October 2017

The tests below require a Unicode-enabled computer. See Preparing Computers for Tibetan Editing for more information.

Web browser test

The following text is Tibetan Unicode - if your installation is supporting Unicode, the display should match the picture below:

ཨོཾ་ཨཱཿཧཱུྂ་བཛྲ་གུ་རུ་པདྨ་སིདྡྷི་ཧཱུྂ༔

The Unicode text above should resemble this image:

Vajragurusample.jpg

Note that you can copy to the first mantra as text into the clipboard. By pasting the text into a Unicode aware application you can modify the text. The second mantra is simply an image and cannot be modified.

Things that can go wrong are:

  • You don't have a Tibetan Unicode font installed - only garbage is displayed: Install a Unicode font, see Tibetan Fonts.
  • You see Tibetan letters, but the stacks do not display correctly and seem to be smashed - you need to install support for complex scripts as described in Preparing Computers for Tibetan Editing.
  • Make sure that you are using the latest Version of your Browser.

Harfbuzz test

Versions before 1.4.7, 18-July-2017 of the Harfbuzz library that is used on a large number of platforms for complex script rendering, had a bug that causes incorrect display of the Tibetan long vowel u: ཨཱུ་.

Glyph U hUM
Your browser renders: ཨཱུ ཧཱུཾ
Correct image: Glyph-u.png Glyph-hum.png

There are multiple ways, this bug manifests:

  • For some fonts, the order of the subscribed vowels is mixed up, this seems to happen with fonts Tibetan Machine Uni and Microsoft Himalaya (Windows platforms with applications that use Harfbuzz).
  • For most other fonts, the shaper simply does not stack the vowel-signs.
  • On some platforms (e.g. macOS) only some applications might be affected, e.g. Chrome and LibreOffice come with their own (and possibly outdated) version of harfbuzz, and might show the bug. Other macOS apps (e.g. Safari browser) do not use harfbuzz, and are not affected by this bug.

If you experience this bug, check for updated versions of your software.

Affected platforms

Harfbuzz libraries are used by Firefox, Chrome (incl. v60, v61, all platforms and all OS), LibreOffice 5.3, 5.4 (all OS), Android and Linux. Generally Software released in the timeframe 2016 - Sep-2017 might be affected, and needs to be updated to the most recent version. A fix is now available for almost all software packages (10-2017)

  • bug-tracker [Fixed in harfbuzz release version 1.4.7, 2017-07-18.]
  • Arch Linux: up-to-date harfbuzz, all apps (e.g. chromium v60, LibreOffice 5.4): OK
  • macOS: applications on macOS usually package a version of harfbuzz. Most software packages (e.g. LibreOffice, Chrome) are updated by now. OK

Libre Office

  • The fix is integrated in LibreOffice 5.4.2, released 04-Oct-2017. OK

Google Chrome

  • The harfbuzz fix is included with Chrome and Chromium versions 62.0.3202.6 (Oct-2017). OK

Android

  • Android 7.x (2016) and 8.0 (2017) are affected. No fix is available until Android OS updates it's outdated harfbuzz libraries. See: Tibetan support in Android for more information about Tibetan support in Android.

External links

Internal links