raster image of text-align-08-b.png raster image of text-align-08-b.png

Test horizontal baselines across script and font size changes. It uses an SVG Font, where the Latin letter "a" is a rectangle, the Japanese letter "犜" is an upward-pointing triangle, and the Devanagari letter "ण" is a downward-pointing triangle.

The dominant baseline should be alphabetic, so the 'a' will be sitting on the alphabetic (blue) line, the japanese glyph (upward pointing triangle) will be aligned on the ideographic (red) baseline and 'ण' is a devangari character (downward pointing triangle) and will use the hanging baseline (green). The smaller versions of the characters should be aligned to the same baselines as the respective larger characters, so all like shapes align to the same baseline..

Original test authored by Rodney Hardy at CISRA.