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
a8e62526
Commit
a8e62526
authored
Dec 26, 2007
by
Aric Stewart
Committed by
Alexandre Julliard
Dec 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fonts: Correct External leading for japanese small font and enable fontmetric test for the font.
parent
1f90e886
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
font.c
dlls/gdi32/tests/font.c
+1
-2
sfnt2fnt.c
tools/sfnt2fnt.c
+2
-2
No files found.
dlls/gdi32/tests/font.c
View file @
a8e62526
...
...
@@ -347,8 +347,7 @@ static void test_bitmap_font_metrics(void)
{
"Small Fonts"
,
FW_NORMAL
,
10
,
8
,
2
,
2
,
0
,
5
,
8
,
CP1251_BIT
},
{
"Small Fonts"
,
FW_NORMAL
,
10
,
8
,
2
,
0
,
0
,
6
,
12
,
CP932_BIT
},
{
"Small Fonts"
,
FW_NORMAL
,
11
,
9
,
2
,
2
,
0
,
5
,
9
,
CP1252_BIT
|
CP1250_BIT
|
CP1251_BIT
},
/* No proper small font for Japanese yet */
/* { "Small Fonts", FW_NORMAL, 11, 9, 2, 0, 0, 7, 14, CP932_BIT }, */
{
"Small Fonts"
,
FW_NORMAL
,
11
,
9
,
2
,
0
,
0
,
7
,
14
,
CP932_BIT
},
{
"Fixedsys"
,
FW_NORMAL
,
15
,
12
,
3
,
3
,
0
,
8
,
8
,
CP1252_BIT
|
CP1250_BIT
},
{
"Fixedsys"
,
FW_NORMAL
,
16
,
12
,
4
,
3
,
0
,
8
,
8
,
CP1251_BIT
},
{
"FixedSys"
,
FW_NORMAL
,
18
,
16
,
2
,
0
,
0
,
8
,
16
,
CP932_BIT
}
...
...
tools/sfnt2fnt.c
View file @
a8e62526
...
...
@@ -312,8 +312,8 @@ static void fill_fontinfo(FT_Face face, int enc, FILE *fp, int dpi, unsigned cha
/* Hack: Courier has no internal leading, nor do any Chinese or Japanese fonts */
if
(
!
strcmp
(
face
->
family_name
,
"Courier"
)
||
enc
==
936
||
enc
==
950
||
enc
==
932
)
il
=
0
;
/* Japanese
fonts have an external leading
*/
if
(
enc
==
932
)
/* Japanese
system fonts have an external leading (not small font)
*/
if
(
enc
==
932
&&
ppem
>
11
)
el
=
2
;
else
el
=
0
;
...
...
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