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
c91c8686
Commit
c91c8686
authored
Dec 10, 2003
by
Huw Davies
Committed by
Alexandre Julliard
Dec 10, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If a font has a version 0 OS2 table then Windows uses ANSI_CHARSET if
the first charcode < 0x100, else it uses SYMBOL_CHARSET. Based on a patch by Rein Klazes.
parent
31c50ccb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
freetype.c
dlls/gdi/freetype.c
+10
-0
No files found.
dlls/gdi/freetype.c
View file @
c91c8686
...
@@ -96,6 +96,7 @@ static void *ft_handle = NULL;
...
@@ -96,6 +96,7 @@ static void *ft_handle = NULL;
MAKE_FUNCPTR
(
FT_Vector_Unit
);
MAKE_FUNCPTR
(
FT_Vector_Unit
);
MAKE_FUNCPTR
(
FT_Done_Face
);
MAKE_FUNCPTR
(
FT_Done_Face
);
MAKE_FUNCPTR
(
FT_Get_Char_Index
);
MAKE_FUNCPTR
(
FT_Get_Char_Index
);
MAKE_FUNCPTR
(
FT_Get_First_Char
);
MAKE_FUNCPTR
(
FT_Get_Sfnt_Table
);
MAKE_FUNCPTR
(
FT_Get_Sfnt_Table
);
MAKE_FUNCPTR
(
FT_Init_FreeType
);
MAKE_FUNCPTR
(
FT_Init_FreeType
);
MAKE_FUNCPTR
(
FT_Load_Glyph
);
MAKE_FUNCPTR
(
FT_Load_Glyph
);
...
@@ -398,6 +399,14 @@ static BOOL AddFontFileToList(const char *file, char *fake_family)
...
@@ -398,6 +399,14 @@ static BOOL AddFontFileToList(const char *file, char *fake_family)
(
*
insertface
)
->
fs
.
fsUsb
[
0
],
(
*
insertface
)
->
fs
.
fsUsb
[
1
],
(
*
insertface
)
->
fs
.
fsUsb
[
0
],
(
*
insertface
)
->
fs
.
fsUsb
[
1
],
(
*
insertface
)
->
fs
.
fsUsb
[
2
],
(
*
insertface
)
->
fs
.
fsUsb
[
3
]);
(
*
insertface
)
->
fs
.
fsUsb
[
2
],
(
*
insertface
)
->
fs
.
fsUsb
[
3
]);
if
(
pOS2
->
version
==
0
)
{
FT_UInt
dummy
;
if
(
pFT_Get_First_Char
(
ft_face
,
&
dummy
)
<
0x100
)
(
*
insertface
)
->
fs
.
fsCsb
[
0
]
|=
1
;
else
(
*
insertface
)
->
fs
.
fsCsb
[
0
]
|=
1L
<<
31
;
}
if
((
*
insertface
)
->
fs
.
fsCsb
[
0
]
==
0
)
{
/* let's see if we can find any interesting cmaps */
if
((
*
insertface
)
->
fs
.
fsCsb
[
0
]
==
0
)
{
/* let's see if we can find any interesting cmaps */
for
(
i
=
0
;
i
<
ft_face
->
num_charmaps
;
i
++
)
{
for
(
i
=
0
;
i
<
ft_face
->
num_charmaps
;
i
++
)
{
switch
(
ft_face
->
charmaps
[
i
]
->
encoding
)
{
switch
(
ft_face
->
charmaps
[
i
]
->
encoding
)
{
...
@@ -769,6 +778,7 @@ BOOL WineEngInit(void)
...
@@ -769,6 +778,7 @@ BOOL WineEngInit(void)
LOAD_FUNCPTR
(
FT_Vector_Unit
)
LOAD_FUNCPTR
(
FT_Vector_Unit
)
LOAD_FUNCPTR
(
FT_Done_Face
)
LOAD_FUNCPTR
(
FT_Done_Face
)
LOAD_FUNCPTR
(
FT_Get_Char_Index
)
LOAD_FUNCPTR
(
FT_Get_Char_Index
)
LOAD_FUNCPTR
(
FT_Get_First_Char
)
LOAD_FUNCPTR
(
FT_Get_Sfnt_Table
)
LOAD_FUNCPTR
(
FT_Get_Sfnt_Table
)
LOAD_FUNCPTR
(
FT_Init_FreeType
)
LOAD_FUNCPTR
(
FT_Init_FreeType
)
LOAD_FUNCPTR
(
FT_Load_Glyph
)
LOAD_FUNCPTR
(
FT_Load_Glyph
)
...
...
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