Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
cddb5d64
Commit
cddb5d64
authored
May 27, 2010
by
Aric Stewart
Committed by
Alexandre Julliard
May 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Apply all the GSUB features specified in Microsofts Typesetting…
usp10: Apply all the GSUB features specified in Microsofts Typesetting documentation for Arabic Shaping.
parent
5ad2f6e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
shape.c
dlls/usp10/shape.c
+17
-1
No files found.
dlls/usp10/shape.c
View file @
cddb5d64
...
@@ -194,6 +194,17 @@ static const char* contextual_features[] =
...
@@ -194,6 +194,17 @@ static const char* contextual_features[] =
"medi"
"medi"
};
};
static
const
char
*
arabic_GSUB_features
[]
=
{
"rlig"
,
"calt"
,
"liga"
,
"dlig"
,
"cswh"
,
"mset"
,
NULL
};
static
INT
GSUB_is_glyph_covered
(
LPCVOID
table
,
UINT
glyph
)
static
INT
GSUB_is_glyph_covered
(
LPCVOID
table
,
UINT
glyph
)
{
{
const
GSUB_CoverageFormat1
*
cf1
;
const
GSUB_CoverageFormat1
*
cf1
;
...
@@ -719,7 +730,12 @@ void SHAPE_ShapeArabicGlyphs(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *psa, WC
...
@@ -719,7 +730,12 @@ void SHAPE_ShapeArabicGlyphs(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *psa, WC
}
}
}
}
apply_GSUB_feature
(
hdc
,
psa
,
psc
->
GSUB_Table
,
pwOutGlyphs
,
dirL
,
pcGlyphs
,
"rlig"
);
i
=
0
;
while
(
arabic_GSUB_features
[
i
]
!=
NULL
)
{
apply_GSUB_feature
(
hdc
,
psa
,
psc
->
GSUB_Table
,
pwOutGlyphs
,
dirL
,
pcGlyphs
,
arabic_GSUB_features
[
i
]);
i
++
;
}
HeapFree
(
GetProcessHeap
(),
0
,
context_shape
);
HeapFree
(
GetProcessHeap
(),
0
,
context_shape
);
HeapFree
(
GetProcessHeap
(),
0
,
context_type
);
HeapFree
(
GetProcessHeap
(),
0
,
context_type
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment