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
24c9a37a
Commit
24c9a37a
authored
Feb 17, 2009
by
Huw Davies
Committed by
Alexandre Julliard
Feb 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: In a Baltic locale the last char of a symbol font is reported as 0xf8fd rather than 0xf0ff.
parent
aecf29ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
freetype.c
dlls/gdi32/freetype.c
+8
-1
font.c
dlls/gdi32/tests/font.c
+8
-1
No files found.
dlls/gdi32/freetype.c
View file @
24c9a37a
...
...
@@ -5399,7 +5399,14 @@ UINT WineEngGetOutlineTextMetrics(GdiFont *font, UINT cbSize,
if
(
font
->
charset
==
SYMBOL_CHARSET
||
(
pOS2
->
usFirstCharIndex
>=
0xf000
&&
pOS2
->
usFirstCharIndex
<
0xf100
))
{
TM
.
tmFirstChar
=
0
;
TM
.
tmLastChar
=
0xf0ff
;
switch
(
GetACP
())
{
case
1257
:
/* Baltic */
TM
.
tmLastChar
=
0xf8fd
;
break
;
default:
TM
.
tmLastChar
=
0xf0ff
;
}
TM
.
tmBreakChar
=
0x20
;
TM
.
tmDefaultChar
=
0x1f
;
}
...
...
dlls/gdi32/tests/font.c
View file @
24c9a37a
...
...
@@ -2277,7 +2277,14 @@ static void test_text_metrics(const LOGFONTA *lf)
if
(
lf
->
lfCharSet
==
SYMBOL_CHARSET
||
(
cmap_first
>=
0xf000
&&
cmap_first
<
0xf100
))
{
expect_first_W
=
0
;
expect_last_W
=
0xf0ff
;
switch
(
GetACP
())
{
case
1257
:
/* Baltic */
expect_last_W
=
0xf8fd
;
break
;
default:
expect_last_W
=
0xf0ff
;
}
expect_break_W
=
0x20
;
expect_default_W
=
expect_break_W
-
1
;
expect_first_A
=
0x1e
;
...
...
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