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
5c13c218
Commit
5c13c218
authored
Jul 10, 2000
by
Stas Sergeev
Committed by
Alexandre Julliard
Jul 10, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make it possible to change the encoding of fonts from the command
line, even if autodetected.
parent
04da8b8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
fnt2bdf.c
tools/fnt2bdf.c
+2
-4
No files found.
tools/fnt2bdf.c
View file @
5c13c218
...
...
@@ -352,6 +352,8 @@ int l_ascent = return_data_value(dfShort, cpe_font_struct->hdr.dfAscent);
/* charset */
if
(
g_lpstrCharSet
)
fprintf
(
fs
,
"%s
\n
"
,
g_lpstrCharSet
);
else
switch
(
cpe_font_struct
->
hdr
.
dfCharSet
[
0
]
)
{
/* Microsoft just had to invent its own charsets! */
...
...
@@ -370,12 +372,8 @@ int l_ascent = return_data_value(dfShort, cpe_font_struct->hdr.dfAscent);
default:
case
OEM_CHARSET
:
if
(
!
g_lpstrCharSet
)
{
fputs
(
"Undefined charset, use -c option.
\n
"
,
stderr
);
return
ERROR_DATA
;
}
fprintf
(
fs
,
"%s
\n
"
,
g_lpstrCharSet
);
}
}
else
return
ERROR_DATA
;
...
...
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