Commit Graph

197 Commits

Author SHA1 Message Date
Aric Stewart 105704534d usp10: When converting common indic items use the main indic script not the Numeric or currency script, even if that was the most recent. 2011-11-17 18:10:19 +01:00
Aric Stewart 41db79a855 usp10: If leading with a strong character use its bidi level for our intial LayoutRTL. 2011-11-17 18:10:11 +01:00
Aric Stewart 2c8fb3aba1 usp10: Keep the levels array in more cases. 2011-11-17 18:09:56 +01:00
Aric Stewart 92f706cd74 usp10: Windows 7 defines a Tibetan numeric script but never uses it. 2011-11-17 18:09:52 +01:00
Aric Stewart 7868be6e70 usp10: Properly set LayoutRTL. 2011-11-15 19:37:28 +01:00
Aric Stewart e5d33f08c7 usp10: Devanagari danda and double danda are used for all Indic scripts. 2011-11-15 19:37:15 +01:00
Aric Stewart 6c3398d957 usp10: Pay attention to script changes for bidi run itemization. 2011-11-15 16:09:10 +01:00
Aric Stewart 145102c7fd usp10: Merge neutral scripts. 2011-11-15 16:09:10 +01:00
Aric Stewart 3767cebc88 usp10: Move scripts to an array initialized once to minimize get_char_script calls. 2011-11-15 16:09:09 +01:00
Aric Stewart 9c9513f94a usp10: Break with a better understanding on the handling of bidi strengths. 2011-11-15 16:09:09 +01:00
Aric Stewart e6ee421e88 usp10: Add some additional Latin script ranges. 2011-11-14 15:25:24 +01:00
Aric Stewart 65710af292 usp10: Better understand and handle numbers level in RTL runs. 2011-11-09 11:34:49 +01:00
Aric Stewart 2781ac1e6d usp10: Better handle the absorption of whitespace in bidi runs. 2011-11-09 11:34:45 +01:00
Aric Stewart cd3d305b60 usp10: Add a few chars that Windows itemizes as punctuation. 2011-11-08 18:19:18 +01:00
Aric Stewart 38aa7696c5 usp10: Avoid an end of buffer overrun when seeking non space characters at an end of a BiDi string. 2011-11-08 18:19:17 +01:00
Aric Stewart 729de083f3 usp10: Correct itemizing multiple spaces at the beginning of a run. 2011-10-24 11:14:06 +02:00
Aric Stewart 0aa30c4673 usp10: Handle multi-glyph clusters in ScriptStringOut. 2011-10-19 12:25:35 +02:00
Aric Stewart 42db0c0593 usp10: Handle advance for multi-glyph clusters correctly. 2011-10-18 15:09:53 +02:00
Aric Stewart 6fb71f5354 usp10: Break out get_cluster_size and use it to correct ScriptStringGetLogicalWidths for clusters. 2011-10-18 15:09:44 +02:00
Aric Stewart 8f4fab2483 usp10: Handle the fNeedsCaretInfo flag in XtoCP and CPtoX. 2011-10-17 17:45:08 +02:00
Marcus Meissner 76702f3391 usp10: Fixed some oom handling (Coverity). 2011-10-17 17:45:05 +02:00
Aric Stewart 29b52fa575 usp10: Add fallback font for Armenian and Georgian. 2011-10-14 20:26:42 +02:00
Aric Stewart c1607a04b9 usp10: Correct where the trailing flag transitions in the middle of a glyph. 2011-10-12 20:52:46 +02:00
Aric Stewart 14eaa18dae usp10: Implement SSA_FALLBACK. 2011-10-11 13:37:49 +02:00
Aric Stewart 314553f194 usp10: Improve handling of tabs and SSA_TAB. 2011-10-11 13:37:49 +02:00
Aric Stewart 95ca444692 usp10: Handle the SSA_PASSWORD flag in ScriptStringAnalyse. 2011-10-08 20:21:26 +02:00
Aric Stewart 63490ce038 usp10: Correct ScriptStringGetLogicalWidths to be based on char not glyph. 2011-10-06 12:28:06 -05:00
Aric Stewart b8f1b5adfe usp10: ScriptShape needs a number of SCRIPT_VISATTR equal to glyphs not chars. 2011-09-23 17:40:49 +02:00
Aric Stewart 7ccf31bde8 usp10: Set fNoGlyphIndex only if the fonts has no opentype/truetype tables. 2011-09-14 17:00:19 +02:00
Aric Stewart 7ae0b72e2f usp10: Respect the presence or absence of the SSA_GLYPHS flag. 2011-09-09 13:32:54 +02:00
Aric Stewart dd4dd261f5 usp10: Respect the presence or absence of the SSA_BREAK flag. 2011-09-09 13:32:49 +02:00
Aric Stewart 4e760d8914 usp10: Disable glyph indexes for Symbol, non-TrueType, and device fonts. 2011-09-06 15:59:16 +02:00
Aric Stewart 49dc1570b7 usp10: Draw selected glyphs in ScriptStringOut. 2011-08-29 17:09:00 +02:00
Aric Stewart f1796a94a5 usp10: Modify ScriptStringOut to paint the string item by item. 2011-08-29 17:03:51 +02:00
Aric Stewart a7071662f7 usp10: Display and handle bidi runs in the correct order in ScriptString functions. 2011-08-29 17:03:42 +02:00
Aric Stewart 74a0a3fdd8 usp10: In ScriptXtoX use cChars as the item is the character index. 2011-08-24 15:05:51 +02:00
Aric Stewart 1ad1474be5 usp10: Always use a SCRIPT_STATE and SCRIPT_CONTROL structure in ScriptStringAnalyse. 2011-08-24 11:58:14 +02:00
André Hentschel a6a7bceb1a usp10: Fix possible crashes (clang). 2011-07-14 14:46:56 +02:00
Aric Stewart 95166855bb usp10: Implement ScriptBreak using the Unicode Line Breaking Algorithm. 2011-07-07 14:56:50 +02:00
Henri Verbeet 90d673e961 usp10: Store the GDEF table in the script cache.
To avoid reloading it all the time.
2011-06-08 14:12:40 +02:00
Aric Stewart 8d83e5d370 ups10: Add Malayalam script. 2011-06-03 13:43:55 +02:00
Aric Stewart 20f5613e61 usp10: Add Kannada script. 2011-06-03 13:43:47 +02:00
Aric Stewart af02c0e29c usp10: Add Telugu script. 2011-06-03 13:43:38 +02:00
Aric Stewart c5747304f0 usp10: Add Tamil script. 2011-06-03 13:43:32 +02:00
Aric Stewart bafc5f0f30 usp10: Add Oriya script. 2011-06-03 13:43:25 +02:00
Aric Stewart 858ecd1c54 usp10: Add Gujarati script. 2011-06-03 13:43:19 +02:00
Aric Stewart fdf2ab5bfa usp10: Add Gurmukhi script. 2011-06-03 13:43:12 +02:00
Aric Stewart 19857ec45b usp10: Add Bengali script. 2011-06-03 13:42:30 +02:00
Aric Stewart b8aad9d3cd usp10: Add Devanagari script. 2011-06-03 13:42:22 +02:00
Aric Stewart eaaf157f6c usp10: Zero Width Joiners and Non-Joiners should, like spaces, not split runs. 2011-05-26 16:32:03 +02:00