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
16cc1334
Commit
16cc1334
authored
Dec 11, 2007
by
Kirill K. Smirnov
Committed by
Alexandre Julliard
Dec 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhelp: Change font charset from ANSI to DEFAULT.
parent
d5d8a5be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
hlpfile.c
programs/winhelp/hlpfile.c
+1
-1
winhelp.c
programs/winhelp/winhelp.c
+7
-7
No files found.
programs/winhelp/hlpfile.c
View file @
16cc1334
...
@@ -1270,7 +1270,7 @@ static BOOL HLPFILE_ReadFont(HLPFILE* hlpfile)
...
@@ -1270,7 +1270,7 @@ static BOOL HLPFILE_ReadFont(HLPFILE* hlpfile)
hlpfile
->
fonts
[
i
].
LogFont
.
lfItalic
=
(
flag
&
2
)
?
TRUE
:
FALSE
;
hlpfile
->
fonts
[
i
].
LogFont
.
lfItalic
=
(
flag
&
2
)
?
TRUE
:
FALSE
;
hlpfile
->
fonts
[
i
].
LogFont
.
lfUnderline
=
(
flag
&
4
)
?
TRUE
:
FALSE
;
hlpfile
->
fonts
[
i
].
LogFont
.
lfUnderline
=
(
flag
&
4
)
?
TRUE
:
FALSE
;
hlpfile
->
fonts
[
i
].
LogFont
.
lfStrikeOut
=
(
flag
&
8
)
?
TRUE
:
FALSE
;
hlpfile
->
fonts
[
i
].
LogFont
.
lfStrikeOut
=
(
flag
&
8
)
?
TRUE
:
FALSE
;
hlpfile
->
fonts
[
i
].
LogFont
.
lfCharSet
=
ANSI
_CHARSET
;
hlpfile
->
fonts
[
i
].
LogFont
.
lfCharSet
=
DEFAULT
_CHARSET
;
hlpfile
->
fonts
[
i
].
LogFont
.
lfOutPrecision
=
OUT_DEFAULT_PRECIS
;
hlpfile
->
fonts
[
i
].
LogFont
.
lfOutPrecision
=
OUT_DEFAULT_PRECIS
;
hlpfile
->
fonts
[
i
].
LogFont
.
lfClipPrecision
=
CLIP_DEFAULT_PRECIS
;
hlpfile
->
fonts
[
i
].
LogFont
.
lfClipPrecision
=
CLIP_DEFAULT_PRECIS
;
hlpfile
->
fonts
[
i
].
LogFont
.
lfQuality
=
DEFAULT_QUALITY
;
hlpfile
->
fonts
[
i
].
LogFont
.
lfQuality
=
DEFAULT_QUALITY
;
...
...
programs/winhelp/winhelp.c
View file @
16cc1334
...
@@ -1841,13 +1841,13 @@ static void WINHELP_InitFonts(HWND hWnd)
...
@@ -1841,13 +1841,13 @@ static void WINHELP_InitFonts(HWND hWnd)
{
{
WINHELP_WINDOW
*
win
=
(
WINHELP_WINDOW
*
)
GetWindowLong
(
hWnd
,
0
);
WINHELP_WINDOW
*
win
=
(
WINHELP_WINDOW
*
)
GetWindowLong
(
hWnd
,
0
);
LOGFONT
logfontlist
[]
=
{
LOGFONT
logfontlist
[]
=
{
{
-
10
,
0
,
0
,
0
,
400
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
32
,
"Helv"
},
{
-
10
,
0
,
0
,
0
,
400
,
0
,
0
,
0
,
DEFAULT_CHARSET
,
0
,
0
,
0
,
32
,
"Helv"
},
{
-
12
,
0
,
0
,
0
,
700
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
32
,
"Helv"
},
{
-
12
,
0
,
0
,
0
,
700
,
0
,
0
,
0
,
DEFAULT_CHARSET
,
0
,
0
,
0
,
32
,
"Helv"
},
{
-
12
,
0
,
0
,
0
,
700
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
32
,
"Helv"
},
{
-
12
,
0
,
0
,
0
,
700
,
0
,
0
,
0
,
DEFAULT_CHARSET
,
0
,
0
,
0
,
32
,
"Helv"
},
{
-
12
,
0
,
0
,
0
,
400
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
32
,
"Helv"
},
{
-
12
,
0
,
0
,
0
,
400
,
0
,
0
,
0
,
DEFAULT_CHARSET
,
0
,
0
,
0
,
32
,
"Helv"
},
{
-
12
,
0
,
0
,
0
,
700
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
32
,
"Helv"
},
{
-
12
,
0
,
0
,
0
,
700
,
0
,
0
,
0
,
DEFAULT_CHARSET
,
0
,
0
,
0
,
32
,
"Helv"
},
{
-
10
,
0
,
0
,
0
,
700
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
32
,
"Helv"
},
{
-
10
,
0
,
0
,
0
,
700
,
0
,
0
,
0
,
DEFAULT_CHARSET
,
0
,
0
,
0
,
32
,
"Helv"
},
{
-
8
,
0
,
0
,
0
,
400
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
32
,
"Helv"
}};
{
-
8
,
0
,
0
,
0
,
400
,
0
,
0
,
0
,
DEFAULT_CHARSET
,
0
,
0
,
0
,
32
,
"Helv"
}};
#define FONTS_LEN (sizeof(logfontlist)/sizeof(*logfontlist))
#define FONTS_LEN (sizeof(logfontlist)/sizeof(*logfontlist))
static
HFONT
fonts
[
FONTS_LEN
];
static
HFONT
fonts
[
FONTS_LEN
];
...
...
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