Commit Graph

168 Commits

Author SHA1 Message Date
Aric Stewart cddb5d6455 usp10: Apply all the GSUB features specified in Microsofts Typesetting documentation for Arabic Shaping. 2010-05-28 16:22:24 +02:00
Aric Stewart 5ad2f6e152 usp10: Break out a function to apply a GSUB feature to an entire string of glyphs. 2010-05-28 16:22:23 +02:00
Austin English 21dac9f6cd usp10/tests: Check return value of SelectObject. 2010-05-24 12:53:15 +02:00
Aric Stewart 18b310a703 usp10: Apply the GSUB 'rlig' feature for Required ligature substitution. 2010-05-24 11:19:03 +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
Aric Stewart a27e03bf5d usp10: Use font chartype only as a fallback if we do not know the characters script already. 2010-05-24 11:18:15 +02:00
Marcus Meissner 163c7021b1 usp10: Check heap_alloc return value (Coverity). 2010-05-24 11:15:25 +02:00
Aric Stewart e276fbc222 usp10: Correct Left and Right confusions for Arabic joining and shaping. 2010-05-21 18:58:05 +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
Alexandre Julliard a5fe688704 libwine: Generate Unicode data for Arabic shaping. 2010-05-19 17:52:42 +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 1ee497ae25 usp10/test: Initialize local structures. 2010-05-08 13:12:28 +02:00
Aric Stewart 4377cc62f8 usp10: Implement mirroring for bidi support. 2010-05-06 19:54:58 +02:00
Alexandre Julliard 6f3f505f04 libwine: Generate a table for BiDi character mirroring. 2010-05-06 19:54:45 +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
Aric Stewart d979afc4c8 usp10/test: Restructure test_ScriptItemize to make the test easier to manage and expand. 2010-04-28 15:04:18 -05:00
Jeff Latimer a7fc0c65c1 usp10/tests: Remove some redundant tests and fully test bidi flag setting. 2010-04-27 14:38:21 -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
Jeff Latimer 0b9b96a81b usp10/tests: Add tests for CR and LF chars and remove some trailing white space. 2010-04-22 12:19:45 +02: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 d4b8536952 usp10/tests: Expanded tests for ScriptShape. 2010-04-15 17:06:10 +02:00
Aric Stewart 51bbd9299f usp10: Have ScriptShape respect fLogicalOrder and fRTL when ordering glyphs. 2010-04-15 14:18:04 +02:00
Alexandre Julliard 65ad399032 usp10: Use the more detailed libwine information to classify bidi chars. 2010-04-14 18:00:45 +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
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01: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
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Eric van Beurden 2d3caa516e usp10: Change the header includes to pull in 'windows.h' instead of the component headers. 2009-12-18 13:14:02 +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 69d27865f6 usp10/tests: Skip some tests on WinME. 2009-04-13 17:33:31 -05:00
Paul Vriens a12cc39ca3 usp10/tests: Fix some test failures on Vista and W2K8 (ScriptPlace). 2009-04-10 14:49:39 +02:00
Paul Vriens 277a84a989 usp10/tests: Fix some test failures on Vista and W2K8 (ScriptShape). 2009-04-10 14:49:31 +02:00
Paul Vriens 0af0bafd6a usp10: Remove an unneeded check. 2009-04-10 11:21:39 +02:00
Hans Leidekker 8a2d97ac3d usp10: Don't test digit substitution data.
It has apparently changed in Vista.
2009-03-04 13:06:11 +01:00
Hans Leidekker 9a847b3ab0 usp10: Improve some traces. 2009-01-06 14:52:18 +01:00
Hans Leidekker 83f66d0246 usp10: Set better visual attribute values in ScriptShape. 2009-01-06 14:52:13 +01:00
Hans Leidekker 8a5eae2122 usp10: Handle CR/LF in ScriptItemize. 2009-01-06 14:52:08 +01:00
Hans Leidekker 020456f71b usp10: Improve handling of whitespace in ScriptBreak. 2009-01-06 14:52:00 +01:00
Andrew Talbot bf92d68330 usp10: Sign-compare warnings fix. 2008-11-20 12:18:29 +01:00