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
b13f23e4
Commit
b13f23e4
authored
Dec 09, 1998
by
Pablo Saratxaga
Committed by
Alexandre Julliard
Dec 09, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved the handling of font encodings.
parent
2866809c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
16 deletions
+25
-16
xfont.c
graphics/x11drv/xfont.c
+0
-0
windows.h
include/windows.h
+24
-15
fnt2bdf.c
tools/fnt2bdf.c
+1
-1
No files found.
graphics/x11drv/xfont.c
View file @
b13f23e4
This diff is collapsed.
Click to expand it.
include/windows.h
View file @
b13f23e4
...
@@ -1373,21 +1373,30 @@ typedef struct
...
@@ -1373,21 +1373,30 @@ typedef struct
#define FW_BLACK 900
#define FW_BLACK 900
/* lfCharSet values */
/* lfCharSet values */
#define ANSI_CHARSET 0
#define ANSI_CHARSET (CHAR)0
/* CP1252, ansi-0, iso8859-{1,15} */
#define DEFAULT_CHARSET 1
#define DEFAULT_CHARSET (CHAR)1
#define SYMBOL_CHARSET 2
#define SYMBOL_CHARSET (CHAR)2
#define SHIFTJIS_CHARSET 128
#define SHIFTJIS_CHARSET (CHAR)128
#define HANGEUL_CHARSET 129
#define HANGEUL_CHARSET (CHAR)129
/* ksc5601.1987-0 */
#define GB2313_CHARSET 134
#define GB2312_CHARSET (CHAR)134
/* gb2312.1980-0 */
#define CHINESEBIG5_CHARSET 136
#define CHINESEBIG5_CHARSET (CHAR)136
/* big5.et-0 */
#define GREEK_CHARSET 161
/* CP1253 */
#define GREEK_CHARSET (CHAR)161
/* CP1253 */
#define TURKISH_CHARSET 162
/* CP1254, -iso8859-9 */
#define TURKISH_CHARSET (CHAR)162
/* CP1254, -iso8859-9 */
#define HEBREW_CHARSET 177
/* CP1255 */
#define HEBREW_CHARSET (CHAR)177
/* CP1255, -iso8859-8 */
#define ARABIC_CHARSET 178
/* CP1256 */
#define ARABIC_CHARSET (CHAR)178
/* CP1256, -iso8859-6 */
#define BALTIC_CHARSET 186
/* CP1257 */
#define BALTIC_CHARSET (CHAR)186
/* CP1257, -iso8859-10 */
#define RUSSIAN_CHARSET 204
/* CP1251 */
#define RUSSIAN_CHARSET (CHAR)204
/* CP1251, -iso8859-5 */
#define EE_CHARSET 238
/* CP1250, -iso8859-2 */
#define EE_CHARSET (CHAR)238
/* CP1250, -iso8859-2 */
#define OEM_CHARSET 255
#define OEM_CHARSET (CHAR)255
/* I don't know if the values of *_CHARSET macros are defined in Windows
* or if we can choose them as we want. -- srtxg
*/
#define THAI_CHARSET (CHAR)239
/* iso8859-11, tis620 */
#define VISCII_CHARSET (CHAR)240
/* viscii1.1-1 */
#define TCVN_CHARSET (CHAR)241
/* tcvn-0 */
#define KOI8_CHARSET (CHAR)242
/* koi8-{r,u,ru} */
#define ISO3_CHARSET (CHAR)243
/* iso8859-3 */
#define ISO4_CHARSET (CHAR)244
/* iso8859-4 */
/* lfOutPrecision values */
/* lfOutPrecision values */
#define OUT_DEFAULT_PRECIS 0
#define OUT_DEFAULT_PRECIS 0
...
...
tools/fnt2bdf.c
View file @
b13f23e4
...
@@ -350,7 +350,7 @@ int l_ascent = return_data_value(dfShort, cpe_font_struct->hdr.dfAscent);
...
@@ -350,7 +350,7 @@ int l_ascent = return_data_value(dfShort, cpe_font_struct->hdr.dfAscent);
{
{
/* Microsoft just had to invent its own charsets! */
/* Microsoft just had to invent its own charsets! */
case
ANSI_CHARSET
:
fputs
(
"
ansi-0
\n
"
,
fs
);
break
;
case
ANSI_CHARSET
:
fputs
(
"
microsoft-cp1252
\n
"
,
fs
);
break
;
case
GREEK_CHARSET
:
fputs
(
"microsoft-cp1253
\n
"
,
fs
);
break
;
case
GREEK_CHARSET
:
fputs
(
"microsoft-cp1253
\n
"
,
fs
);
break
;
case
TURKISH_CHARSET
:
fputs
(
"microsoft-cp1254
\n
"
,
fs
);
break
;
case
TURKISH_CHARSET
:
fputs
(
"microsoft-cp1254
\n
"
,
fs
);
break
;
case
HEBREW_CHARSET
:
fputs
(
"microsoft-cp1255
\n
"
,
fs
);
break
;
case
HEBREW_CHARSET
:
fputs
(
"microsoft-cp1255
\n
"
,
fs
);
break
;
...
...
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