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
01511751
Commit
01511751
authored
Apr 24, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Apr 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sfnt2fnt: Remove variable descent which is not really used from fill_fontinfo.
parent
2af5528a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
sfnt2fnt.c
tools/sfnt2fnt.c
+1
-3
No files found.
tools/sfnt2fnt.c
View file @
01511751
...
...
@@ -365,7 +365,7 @@ static struct fontinfo *fill_fontinfo( const char *face_name, int ppem, int enc,
unsigned
char
def_char
,
int
avg_width
)
{
FT_Face
face
;
int
ascent
=
0
,
il
,
el
,
descent
=
0
,
width_bytes
=
0
,
space_size
,
max_width
=
0
;
int
ascent
=
0
,
il
,
el
,
width_bytes
=
0
,
space_size
,
max_width
=
0
;
BYTE
left_byte
,
right_byte
,
byte
;
DWORD
start
;
int
i
,
x
,
y
,
x_off
,
x_end
,
first_char
;
...
...
@@ -413,7 +413,6 @@ static struct fontinfo *fill_fontinfo( const char *face_name, int ppem, int enc,
if
(
size_table
->
hori
.
ascender
-
size_table
->
hori
.
descender
==
ppem
)
{
ascent
=
size_table
->
hori
.
ascender
;
descent
=
-
size_table
->
hori
.
descender
;
break
;
}
size_table
++
;
...
...
@@ -431,7 +430,6 @@ static struct fontinfo *fill_fontinfo( const char *face_name, int ppem, int enc,
if
(
FT_Load_Char
(
face
,
0xc5
,
FT_LOAD_DEFAULT
))
error
(
"Can't find Aring
\n
"
);
ascent
=
face
->
glyph
->
metrics
.
horiBearingY
>>
6
;
descent
=
ppem
-
ascent
;
}
start
=
sizeof
(
FNT_HEADER
);
...
...
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