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
e3deda37
Commit
e3deda37
authored
Sep 04, 2000
by
Hidenori Takeshima
Committed by
Alexandre Julliard
Sep 04, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add jisx0212 encoding.
Remove FIXMEs for implemented DBCS handling.
parent
88c5bc6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
xfont.c
graphics/x11drv/xfont.c
+12
-10
No files found.
graphics/x11drv/xfont.c
View file @
e3deda37
...
...
@@ -175,7 +175,6 @@ static const SuffixCharset sufch_koi8[] = {
{
"u"
,
RUSSIAN_CHARSET
,
20866
,
X11DRV_CPTABLE_SBCS
},
{
NULL
,
RUSSIAN_CHARSET
,
20866
,
X11DRV_CPTABLE_SBCS
}};
/* FIXME: DBCS charsets need 2 or more fonts */
static
const
SuffixCharset
sufch_jisx0201
[]
=
{
{
"0"
,
X11FONT_JISX0201_CHARSET
,
932
,
X11DRV_CPTABLE_SBCS
},
{
NULL
,
X11FONT_JISX0201_CHARSET
,
932
,
X11DRV_CPTABLE_SBCS
}};
...
...
@@ -184,6 +183,10 @@ static const SuffixCharset sufch_jisx0208[] = {
{
"0"
,
SHIFTJIS_CHARSET
,
932
,
X11DRV_CPTABLE_CP932
},
{
NULL
,
SHIFTJIS_CHARSET
,
932
,
X11DRV_CPTABLE_CP932
}};
static
const
SuffixCharset
sufch_jisx0212
[]
=
{
{
"0"
,
X11FONT_JISX0212_CHARSET
,
932
,
X11DRV_CPTABLE_CP932
},
{
NULL
,
X11FONT_JISX0212_CHARSET
,
932
,
X11DRV_CPTABLE_CP932
}};
static
const
SuffixCharset
sufch_ksc5601
[]
=
{
{
"0"
,
HANGEUL_CHARSET
,
949
,
X11DRV_CPTABLE_CP949
},
{
NULL
,
HANGEUL_CHARSET
,
949
,
X11DRV_CPTABLE_CP949
}};
...
...
@@ -235,12 +238,13 @@ static fontEncodingTemplate __fETTable[] = {
{
"jisc6226.1978"
,
sufch_jisx0208
,
&
__fETTable
[
12
]},
{
"jisx0208.1983"
,
sufch_jisx0208
,
&
__fETTable
[
13
]},
{
"jisx0208.1990"
,
sufch_jisx0208
,
&
__fETTable
[
14
]},
{
"ksc5601.1987"
,
sufch_ksc5601
,
&
__fETTable
[
15
]},
{
"gb2312.1980"
,
sufch_gb2312
,
&
__fETTable
[
16
]},
{
"big5.et"
,
sufch_big5
,
&
__fETTable
[
17
]},
{
"unicode"
,
sufch_unicode
,
&
__fETTable
[
18
]},
{
"iso10646"
,
sufch_iso10646
,
&
__fETTable
[
19
]},
{
"cp"
,
sufch_windows
,
&
__fETTable
[
20
]},
{
"jisx0212.1990"
,
sufch_jisx0212
,
&
__fETTable
[
15
]},
{
"ksc5601.1987"
,
sufch_ksc5601
,
&
__fETTable
[
16
]},
{
"gb2312.1980"
,
sufch_gb2312
,
&
__fETTable
[
17
]},
{
"big5.et"
,
sufch_big5
,
&
__fETTable
[
18
]},
{
"unicode"
,
sufch_unicode
,
&
__fETTable
[
19
]},
{
"iso10646"
,
sufch_iso10646
,
&
__fETTable
[
20
]},
{
"cp"
,
sufch_windows
,
&
__fETTable
[
21
]},
/* NULL prefix matches anything so put it last */
{
NULL
,
sufch_any
,
NULL
},
};
...
...
@@ -643,9 +647,7 @@ static int LFD_InitFontInfo( fontInfo* fi, const LFD* lfd, LPCSTR fullname )
/* charset registry, charset encoding - */
lpstr
=
lfd
->
charset_registry
;
if
(
strstr
(
lpstr
,
"jisx"
)
||
strstr
(
lpstr
,
"jisc"
)
||
strstr
(
lpstr
,
"ksc"
)
||
if
(
strstr
(
lpstr
,
"ksc"
)
||
strstr
(
lpstr
,
"gb2312"
)
||
strstr
(
lpstr
,
"big5"
)
)
{
...
...
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