Tibetan Unicode Test Page

From Digital Tibetan
Jump to: navigation, search

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:


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, all platforms and all OS), LibreOffice 5.3, 5.4 (all OS), Android and Linux.

  • 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
  • macOS: applications on macOS usually package a version of harfbuzz. Chrome v60 [packages harfbuzz 1.4.6, too old] (and Chrome canary v62) and LibreOffice 5.4 still use outdated versions of harfbuzz, and the bug is therefor not yet fixed on those platforms. As soon as newer versions of those applications are available, updated status will be provided.

Libre Office

  • This Libre Office bug report monitors the integration of the fix into LibreOffice.
  • Update: The fix will be integrated in LibreOffice 5.4.2, and into daily builds starting from 18-Aug-2017.

External links

Internal links