Commit Graph

139 Commits

Author SHA1 Message Date
Aric Stewart 7acd2ba264 usp10: Correct fTrailing handling for RTL runs in ScriptCPtoX. 2011-03-18 11:30:39 +01:00
Aric Stewart 3f7ad460ef usp10: Update ScriptCPtoX to handle RTL runs. 2011-03-14 12:15:43 +01:00
Aric Stewart 73f743f6d2 usp10: Corrections to ScriptCPtoX. 2011-03-10 16:30:15 +01:00
Aric Stewart 7891f05b88 ups10: Corrected rtl implementation for ScriptStringXtoCP and ScriptStringXtoCP. 2010-11-01 11:32:30 +01:00
Francois Gouget 0d3b4b3c0c usp10: Add a trailing '\n' to a TRACE() call. 2010-09-13 13:27:09 -05:00
Aric Stewart 7bf4db877a usp10: Check font for required features and report error if missing. 2010-09-13 09:55:49 -05:00
Aric Stewart 29d2c5a208 usp10: Improve handling of spaces during Itemization. 2010-09-13 09:55:46 -05:00
Aric Stewart facc7b0306 usp10: Implement handling fMergeNeutralItems. 2010-09-09 19:56:36 +02:00
Aric Stewart e881635741 usp10: Attempt to shape with non TMPF_TRUETYPE fonts.
Just do not do the parts that are known to require ttf tables.
2010-09-08 21:03:37 +02:00
Aric Stewart 68ab5e2689 usp10: Add Lao script. 2010-08-25 11:58:04 +02:00
Aric Stewart 331c8cdef6 usp10: Add Thai Script. 2010-08-25 11:57:57 +02:00
Aric Stewart 57053fa51e usp10: Add Phags-pa Script. 2010-08-25 11:57:50 +02:00
Aric Stewart 29d896e40a usp10: Add Tibetan Script. 2010-08-25 11:57:41 +02:00
Aric Stewart 2fe30b377c usp10: Add Sinhala Script. 2010-08-25 11:57:35 +02:00
Aric Stewart 7b11524ec3 usp10: Add Georgian script. 2010-08-24 12:29:34 +02:00
Aric Stewart 703dd4b1fc usp10: Add Armenian script. 2010-08-24 12:29:26 +02:00
Aric Stewart b21ca5628e usp10: Add Cyrillic script. 2010-08-24 12:29:13 +02:00
Aric Stewart 2701b8f97a usp10: Add Greek Script. 2010-08-24 12:28:57 +02:00
Aric Stewart 2585d41eeb usp10: Add Thaana script. 2010-08-24 12:28:43 +02:00
Aric Stewart f4d142e277 usp10: Update pwLogClust with glyph transformations. 2010-08-16 15:54:23 +02:00
Aric Stewart 0401f6c088 usp10: Add contextual shaping proc to the script shaping data. 2010-08-16 15:54:23 +02:00
Aric Stewart 2fb344c117 usp10: Generalize out applying Opentype features and define default features for currently known scripts. 2010-08-16 15:54:22 +02:00
Aric Stewart b6f2f10b12 usp10: Have ScriptIsComplex reflect information in our scripts. 2010-08-16 15:54:22 +02:00
Aric Stewart 08c6d79d45 usp10: Report accurate information about our currently known scripts. 2010-08-16 15:54:22 +02:00
Aric Stewart 8c0e5483d8 usp10: Factor out script ranges in an more expandable way. 2010-08-16 15:54:22 +02:00
Aric Stewart 6c73258725 usp10: Handle Ligature Substitution Subtable from GSUB.
This also involves a restructuring of the handling of glyph lookups
from GSUB since Ligature Substitution can result in many glyphs being
replaced with 1 glyph, and future looksup may result in one glyph
being replaces with many glyphs.
2010-05-24 11:18:59 +02:00
Marcus Meissner 163c7021b1 usp10: Check heap_alloc return value (Coverity). 2010-05-24 11:15:25 +02:00
Aric Stewart 8412028562 usp10: Attempt to do shaping via the font GSUB table first.
Modern fonts expect this and the presentation form B glyphs are a fallback.
2010-05-19 18:02:08 +02:00
Aric Stewart 32b9b63a42 usp10: Add Arabic shaping. 2010-05-19 17:59:35 +02:00
Aric Stewart 421a997085 usp10: Add ETO_IGNORELANGUAGE when calling ExtTextOut so we do not re-reverse already formated RTL strings inside of GDI. 2010-05-08 13:12:54 +02:00
Aric Stewart 4377cc62f8 usp10: Implement mirroring for bidi support. 2010-05-06 19:54:58 +02:00
Aric Stewart 2ba0048541 usp10: ScriptTextOut reorders glyphs that are RTL if they have been processed with fLogicalOrder in previous calls. 2010-05-06 14:18:17 +02:00
Aric Stewart abae85b976 usp10: Fix ScriptGetCMap handling of unsupported glyphs. 2010-05-06 14:18:04 +02:00
Aric Stewart d5672fee0a usp10: Update ScriptItemize to use the baselevel of a unified run. 2010-04-29 10:19:40 -05:00
Jeff Latimer b367e902c9 usp10: Check that there are sufficient script_items before setting the last pointer. 2010-04-27 14:38:03 -05:00
Aric Stewart af3dfc198a usp10: Improve support for Syriac in ScriptItemize. 2010-04-19 16:22:29 +02:00
Aric Stewart 4459c5b619 usp10: Improve Hebrew support in ScriptItemize. 2010-04-19 16:22:23 +02:00
Aric Stewart 51bbd9299f usp10: Have ScriptShape respect fLogicalOrder and fRTL when ordering glyphs. 2010-04-15 14:18:04 +02:00
Aric Stewart b9c30445c7 ups10: Reimplement ScriptLayout to properly handle mixed runs. 2010-04-14 18:00:45 +02:00
Aric Stewart 6c3659c3d4 usp10: Improve ScriptItemize with a SCRIPT_CONTROL and SCRIPT_STATE set.
Reduce bidi duplications from gdi32 by using the newly corrected usp10 
functions.
2010-04-14 18:00:44 +02:00
Mikhail Maroukhine 2a8972378f usp10: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:16:58 +02:00
Jeff Latimer ee891d3b59 usp10: Change default glyph returned from 0xffff to 0. 2010-03-15 15:08:02 +01:00
Jeff Latimer 3b6498a520 usp10: Remove duplicate code. 2010-03-04 17:29:17 +01:00
Jeff Latimer d970ea7fd7 usp10: Fix trace to remove an incorrect assignment. 2010-03-01 11:48:35 +01:00
Hans Leidekker 7d3f37fcbd usp10: Fix a memory leak.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker d974a4b29f usp10: Add a stub implementation of ScriptJustify. 2009-11-23 10:35:35 +01:00
Hans Leidekker 7714a3f798 usp10: Add a stub implementation of ScriptApplyLogicalWidth. 2009-11-23 10:35:31 +01:00
Hans Leidekker f7a4936fc4 usp10: Make tests pass on Win7. Conform to the more recent behavior. 2009-09-08 12:12:18 +02:00
Paul Vriens 0af0bafd6a usp10: Remove an unneeded check. 2009-04-10 11:21:39 +02:00
Hans Leidekker 9a847b3ab0 usp10: Improve some traces. 2009-01-06 14:52:18 +01:00