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
c44c347d
Commit
c44c347d
authored
Oct 22, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Move more font metrics information to the generic font structure.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
16b8f2b3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
font.c
dlls/gdi32/font.c
+1
-0
freetype.c
dlls/gdi32/freetype.c
+0
-0
gdi_private.h
dlls/gdi32/gdi_private.h
+9
-0
No files found.
dlls/gdi32/font.c
View file @
c44c347d
...
...
@@ -413,6 +413,7 @@ struct gdi_font *alloc_gdi_font(void)
font
->
refcount
=
1
;
font
->
matrix
.
eM11
=
font
->
matrix
.
eM22
=
1
.
0
;
font
->
scale_y
=
1
.
0
;
if
(
!
(
font
->
handle
=
alloc_font_handle
(
font
)))
{
...
...
dlls/gdi32/freetype.c
View file @
c44c347d
This diff is collapsed.
Click to expand it.
dlls/gdi32/gdi_private.h
View file @
c44c347d
...
...
@@ -319,6 +319,15 @@ struct gdi_font
LOGFONTW
lf
;
FMAT2
matrix
;
UINT
face_index
;
double
scale_y
;
INT
aveWidth
;
INT
ppem
;
SHORT
yMax
;
SHORT
yMin
;
UINT
ntmFlags
;
UINT
ntmCellHeight
;
UINT
ntmAvgWidth
;
UINT
aa_flags
;
BOOL
can_use_bitmap
:
1
;
BOOL
fake_italic
:
1
;
BOOL
fake_bold
:
1
;
...
...
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