Files
harfbuzz/src
Behdad Esfahbod 71632c96da Fallback to Latin script if the font has no other usable scripts
Patch and description from Jonathan Kew:

It turns out that some legacy Thai fonts provide OpenType substitution
features to implement mark positioning, but (incorrectly) put those
features/lookups under the 'latn' script tag instead of using 'thai' (or
possibly 'DFLT'). See
https://bugzilla.mozilla.org/show_bug.cgi?id=719366 for an example and
more detailed description.

Although this is really a font bug, I suggest that we could improve the
rendering of such fonts by looking for the 'latn' as a fallback if
neither the requested script nor "default" is found in
hb_ot_layout_table_choose_script. Suggested patch against harfbuzz
master is attached.

This does _not_ affect the other kind of legacy Thai font, where custom
code to support vendor-specific PUA codepoints would be needed. I'm not
keen to go down that path; IMO, such fonts should be ruthlessly stamped
out in favour of standards-based solutions. :)

JK
2012-01-22 15:31:44 -05:00
..
2011-08-05 20:09:25 -04:00
2011-05-27 15:58:54 -04:00
2011-08-05 20:11:06 -04:00
2011-09-20 14:34:06 -04:00
2011-09-20 14:34:06 -04:00
2011-09-21 16:50:39 -04:00
2012-01-18 21:51:05 -05:00
2011-08-08 23:37:41 +02:00
2011-09-21 16:49:33 -04:00
2011-08-19 19:20:30 +02:00
2011-08-10 22:00:35 +02:00
2011-04-21 17:14:28 -04:00
2011-08-24 19:36:50 +02:00
2011-09-15 00:32:39 -04:00
2012-01-18 22:32:52 -05:00
2011-04-21 17:14:28 -04:00
2011-10-21 09:18:43 -07:00
2011-08-17 15:00:10 +02:00
2011-08-17 15:00:10 +02:00
2011-08-24 19:13:15 +02:00
2011-07-30 20:57:01 -04:00
2011-08-17 15:00:10 +02:00
2011-08-17 15:00:18 +02:00
2012-01-19 15:15:21 -05:00
2011-09-15 00:32:39 -04:00
2011-04-21 17:14:28 -04:00
2011-04-21 17:14:28 -04:00
2011-09-16 16:40:44 -04:00
2011-08-24 01:48:03 +02:00
2011-08-10 16:25:56 +02:00
2011-08-19 19:23:28 +02:00
2011-09-16 16:40:44 -04:00
2011-09-15 00:32:39 -04:00
2011-05-05 21:31:04 -04:00
2012-01-19 14:28:11 -05:00