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
1809ff90
Commit
1809ff90
authored
Apr 04, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Use user transform when rendering individual glyphs.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b66f187e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
freetype.c
dlls/dwrite/freetype.c
+4
-5
No files found.
dlls/dwrite/freetype.c
View file @
1809ff90
...
...
@@ -691,9 +691,8 @@ void freetype_get_glyph_bbox(struct dwrite_glyphbitmap *bitmap)
if
(
simulations
&
DWRITE_FONT_SIMULATIONS_BOLD
)
embolden_glyph
(
glyph_copy
,
bitmap
->
emsize
);
if
(
simulations
&
DWRITE_FONT_SIMULATIONS_OBLIQUE
)
pFT_Glyph_Transform
(
glyph_copy
,
&
m
,
NULL
);
/* Includes oblique and user transform. */
pFT_Glyph_Transform
(
glyph_copy
,
&
m
,
NULL
);
pFT_Glyph_Get_CBox
(
glyph_copy
,
FT_GLYPH_BBOX_PIXELS
,
&
bbox
);
pFT_Done_Glyph
(
glyph_copy
);
}
...
...
@@ -851,8 +850,8 @@ BOOL freetype_get_glyph_bitmap(struct dwrite_glyphbitmap *bitmap)
if
(
simulations
&
DWRITE_FONT_SIMULATIONS_BOLD
)
embolden_glyph
(
glyph_copy
,
bitmap
->
emsize
);
if
(
simulations
&
DWRITE_FONT_SIMULATIONS_OBLIQUE
)
pFT_Glyph_Transform
(
glyph_copy
,
&
m
,
NULL
);
/* Includes oblique and user transform. */
pFT_Glyph_Transform
(
glyph_copy
,
&
m
,
NULL
);
glyph
=
glyph_copy
;
}
}
...
...
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