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
d80ce300
Commit
d80ce300
authored
Aug 14, 2000
by
Hidenori Takeshima
Committed by
Alexandre Julliard
Aug 14, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added checking for broken font cache.
Added supporting for iso10646 encoding.
parent
c10c9ef4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
xfont.c
graphics/x11drv/xfont.c
+7
-0
No files found.
graphics/x11drv/xfont.c
View file @
d80ce300
...
...
@@ -199,6 +199,10 @@ static SuffixCharset sufch_unicode[] = {
{
"0"
,
DEFAULT_CHARSET
,
0
},
{
NULL
,
DEFAULT_CHARSET
,
0
}};
static
SuffixCharset
sufch_iso10646
[]
=
{
{
"1"
,
DEFAULT_CHARSET
,
0
},
{
NULL
,
DEFAULT_CHARSET
,
0
}};
/* Each of these must be matched explicitly */
static
SuffixCharset
sufch_any
[]
=
{
{
"fontspecific"
,
SYMBOL_CHARSET
,
CP_SYMBOL
},
...
...
@@ -234,6 +238,7 @@ static fontEncodingTemplate __fETTable[] = {
{
"gb2312.1980"
,
sufch_gb2312
,
&
__fETTable
[
16
]},
{
"big5.et"
,
sufch_big5
,
&
__fETTable
[
17
]},
{
"unicode"
,
sufch_unicode
,
&
__fETTable
[
18
]},
{
"iso10646"
,
sufch_iso10646
,
&
__fETTable
[
19
]},
/* NULL prefix matches anything so put it last */
{
NULL
,
sufch_any
,
NULL
},
};
...
...
@@ -2059,6 +2064,8 @@ static BOOL XFONT_ReadCachedMetrics( int fd, int res, unsigned x_checksum, int x
if
(
offset
>
length
||
(
int
)(
pfi
->
next
)
!=
j
++
)
goto
fail
;
if
(
pfi
->
df
.
dfPixHeight
==
0
)
goto
fail
;
pfi
->
df
.
dfFace
=
pfr
->
lfFaceName
;
if
(
pfi
->
fi_flags
&
FI_SCALABLE
)
{
...
...
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