Aric Stewart
e2d4cf9e29
usp10: Fix next index for RTL MultipleSubst.
...
MultipleSubst will expand the glyph array to the right, so when the
writing direction is RTL the next index does not need to be modified by
the new count of glyphs.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 21:38:47 +01:00
Aric Stewart
0401bdfad6
usp10: Change GSUB_E_NOGLYPH value.
...
-1 is a potentially valid index to return for RTL languages.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 21:38:47 +01:00
Aric Stewart
aae5a831e2
usp10: Implement Chaining Context Substitution Format 2: Class-based Chaining Context Glyph Substitution.
...
Used by the font Noto Nastaliq Urdu.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 20:04:52 +01:00
Aric Stewart
b98a70aa40
usp10: Implement Contextual Positioning Subtable: Format 2.
...
Used by the font Noto Nastaliq Urdu.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 20:04:52 +01:00
Aric Stewart
5e6b2c0ed6
usp10: Implement GSUB Context Substitution types 1 and 2.
...
Used by the font Noto Nastaliq Urdu.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 20:04:51 +01:00
Hadrien Boizard
37840f84ff
usp10: Use wine_dbgstr_point in TRACES.
...
Signed-off-by: Hadrien Boizard <h.boizard@gmail.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 00:09:21 +09:00
Nikolay Sivov
9da5adce66
usp10: Some spelling fixes.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-06 12:50:31 +09:00
Aric Stewart
12fb74ac56
usp10: Handle GSUB SubType 7: Extension Substitution.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-13 13:23:31 +09:00
Sebastian Lackner
ebd1b86bbb
usp10: Silence repeated GSUB_apply_ChainContext[Subst|Pos] FIXMEs.
2014-11-06 23:47:11 +09:00
Michael Stefaniuc
7585859986
usp10: Removed unused variable (PVS-Studio).
2014-10-29 20:31:07 +09:00
Phil Krylov
c9cbde73c0
usp10: Support GPOS extension lookup subtables.
2013-03-25 14:03:52 +01:00
Aric Stewart
237ed21737
usp10: Fix memory leak when a font has 0 languages, scripts or features.
...
Based on original fix proposded by Wojciech Pyczak.
2013-02-08 19:31:31 +01:00
Aric Stewart
c1f190a0c5
usp10: GPOS Mark to Base seeks back in the string to the first glyph that is not a mark for its base.
2013-01-21 12:14:34 +01:00
Aric Stewart
287243a9b9
usp10: Group the GDEF table loading with the other opentype tables.
2013-01-21 12:14:19 +01:00
Aric Stewart
6b8c910b37
usp10: MarkToMark calculations may need to happen even if the offset is 0.
2013-01-18 14:47:11 +01:00
Aric Stewart
62b4f31d6d
usp10: Implement GPOS Cursive Attachment Positioning Subtable.
2013-01-17 20:28:48 +01:00
Aric Stewart
e5ab22d684
ups10: Mark to Base, Mark and Ligature are not cumulative offsets.
2013-01-15 14:39:08 +01:00
Huw Davies
6ae41d015c
usp10: Fix MarkToMark offset for RTL text.
2013-01-14 17:35:25 +01:00
Huw Davies
464bf22fdf
usp10: Fix pair adjustment for RTL text.
2013-01-14 17:35:24 +01:00
Huw Davies
0783987a26
usp10: Don't compute a pair adjustment for the last glyph.
2013-01-14 17:35:24 +01:00
Huw Davies
7ba38ad62e
usp10: Fix MarkToBase offset for RTL text.
2013-01-14 17:35:23 +01:00
Huw Davies
b864b4aae2
usp10: Propagate the script analysis to the GPOS lookup functions.
2013-01-14 17:35:14 +01:00
Aric Stewart
7254a0ab4c
usp10: Implement GPOS MarkToLigature Attachment Positioning Subtable.
2013-01-10 12:23:01 +01:00
Aric Stewart
9dd91d3198
usp10: Correct issues if a feature tag is duplicated between GSUB and GPOS.
...
Identified by Huw Davies.
2013-01-08 19:09:35 +01:00
Huw Davies
496898db51
usp10: Add support for format 2 pair adjustments.
2012-12-20 18:04:41 +01:00
Huw Davies
08fcdd5f6f
usp10: Move the application of pair values to a helper function.
2012-12-20 18:04:37 +01:00
Huw Davies
79cbcf9612
usp10: Glyph class tables are just generic class tables.
2012-12-20 18:04:33 +01:00
Huw Davies
b83216c124
usp10: PairValueRecord is a variable length struct, so don't use a C array to index into them.
2012-12-19 14:38:59 +01:00
Huw Davies
c28897f3e9
usp10: Add the ability to just return the size of the value record.
2012-12-19 14:38:59 +01:00
Michael Stefaniuc
b4712d2e16
usp10: Use FIELD_OFFSET to calculate the size of a struct with variable length array.
2012-10-31 18:07:19 +01:00
André Hentschel
c41bdf98bb
usp10: Add missing break in switch (coverity).
2012-10-24 11:33:27 +02:00
Aric Stewart
af318c5fd0
usp10: Implement MarkToMark Attachment Positioning Subtable.
2012-08-16 17:13:09 +02:00
Aric Stewart
cd8c1b28ad
usp10: Correct rounding of negative offsets in GPOS.
2012-08-15 13:58:46 +02:00
Aric Stewart
e2250ce6cb
usp10: Correct implementation of Pair Positioning Adjustment: Format 1.
2012-08-15 13:55:25 +02:00
Aric Stewart
6ae4cfe973
usp10: Implement GPOS Coverage-based Chaining Context Glyph Positioning.
2012-07-17 14:23:53 +02:00
Aric Stewart
ea9f2266de
ups10: Implement Single Adjustment Positioning: Format 2.
2012-07-17 14:23:44 +02:00
Aric Stewart
5a45e34741
usp10: Implement GPOS Pair Adjustment Positioning Subtable.
2012-07-16 17:03:14 +02:00
Aric Stewart
e3a98b437b
usp10: Implement GPOS Single Adjustment Positioning.
2012-07-16 17:03:05 +02:00
Aric Stewart
1dc148d7cc
usp10: Handle GPOS ValueRecords.
2012-07-16 17:02:56 +02:00
Aric Stewart
85c9984389
usp10: Implement GPOS MarkToBase.
2012-07-16 17:02:45 +02:00
Aric Stewart
69351a9cea
usp10: Implement GPOS Anchor formats.
2012-07-16 17:02:14 +02:00
Aric Stewart
940961fcf7
usp10: Implement SHAPE_ApplyOpenTypePositions using GPOS table.
2012-07-16 17:02:02 +02:00
Aric Stewart
84b8dbfa8a
usp10: Change OpenType_GSUB_GetFontFeatureTags to OpenType_GetFontFeatureTags and load features from GPOS table.
2012-07-16 17:01:40 +02:00
Aric Stewart
2123f049d3
usp10: Change OpenType_GSUB_GetFontLangaugeTags to OpenType_GetFontLanguageTags and load languages from GPOS table as well.
2012-07-16 17:01:31 +02:00
Aric Stewart
e031293521
usp10: Change OpenType_GSUB_GetFontScriptTags to OpenType_GetFontScriptTags and load scripts from GPOS table as well.
2012-07-16 17:01:15 +02:00
Aric Stewart
6189568072
ups10: Rename common opentype tables used in both GSUB and GPOS to OT_.
2012-07-16 16:59:41 +02:00
Aric Stewart
6c43ef46d8
usp10: Properly handle fonts with scripts without a default language.
2012-06-11 21:03:45 +02:00
Aric Stewart
9af6b11808
usp10: Better handle 0 cases when caching scripts, languages and features.
2012-02-28 11:56:56 +01:00
Aric Stewart
4df4929198
usp10: Use a bsearch function to find a glyph in the LogClust array.
2012-01-30 20:44:45 +01:00
Aric Stewart
4019987391
usp10: Move GSUB functions to opentype.c.
2012-01-04 19:00:13 +01:00