Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
b8f42522
Commit
b8f42522
authored
Sep 03, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Sep 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Add support for generic typographic string format.
parent
bfa35f37
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
38 deletions
+56
-38
gdiplus_private.h
dlls/gdiplus/gdiplus_private.h
+1
-0
graphics.c
dlls/gdiplus/graphics.c
+51
-38
stringformat.c
dlls/gdiplus/stringformat.c
+4
-0
No files found.
dlls/gdiplus/gdiplus_private.h
View file @
b8f42522
...
...
@@ -368,6 +368,7 @@ struct GpStringFormat{
REAL
*
tabs
;
CharacterRange
*
character_ranges
;
INT
range_count
;
BOOL
generic_typographic
;
};
struct
GpFontCollection
{
...
...
dlls/gdiplus/graphics.c
View file @
b8f42522
This diff is collapsed.
Click to expand it.
dlls/gdiplus/stringformat.c
View file @
b8f42522
...
...
@@ -50,6 +50,7 @@ GpStatus WINGDIPAPI GdipCreateStringFormat(INT attr, LANGID lang,
(
*
format
)
->
digitsub
=
StringDigitSubstituteUser
;
(
*
format
)
->
character_ranges
=
NULL
;
(
*
format
)
->
range_count
=
0
;
(
*
format
)
->
generic_typographic
=
FALSE
;
/* tabstops */
(
*
format
)
->
tabcount
=
0
;
(
*
format
)
->
firsttab
=
0
.
0
;
...
...
@@ -386,6 +387,9 @@ GpStatus WINGDIPAPI GdipStringFormatGetGenericTypographic(GpStringFormat **forma
(
*
format
)
->
hkprefix
=
HotkeyPrefixNone
;
(
*
format
)
->
align
=
StringAlignmentNear
;
(
*
format
)
->
vertalign
=
StringAlignmentNear
;
(
*
format
)
->
generic_typographic
=
TRUE
;
TRACE
(
"%p => %p
\n
"
,
format
,
*
format
);
return
Ok
;
}
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