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
89e79d81
Commit
89e79d81
authored
Sep 28, 2017
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools/sfnt2fon: Just skip all glyphs below 0x20.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ac6325e4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sfnt2fon.c
tools/sfnt2fon/sfnt2fon.c
+2
-2
No files found.
tools/sfnt2fon/sfnt2fon.c
View file @
89e79d81
...
...
@@ -439,8 +439,8 @@ static struct fontinfo *fill_fontinfo( const char *face_name, int ppem, int enc,
el
=
0
;
first_char
=
FT_Get_First_Char
(
face
,
&
gi
);
if
(
first_char
==
0xd
)
/* fontforge's first glyph is 0xd, we'll catch this and skip it
*/
first_char
=
32
;
/* FT_Get_Next_Char for some reason returns too high
if
(
first_char
<
0x20
)
/* Ignore glyphs below 0x20
*/
first_char
=
0x20
;
/* FT_Get_Next_Char for some reason returns too high
number in this case */
info
=
calloc
(
1
,
sizeof
(
*
info
)
);
...
...
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