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
90ca8eb2
Commit
90ca8eb2
authored
Jun 25, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Add support for the CF_NOVERTFONTS flag.
parent
0c46b06c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
fontdlg.c
dlls/comdlg32/fontdlg.c
+5
-2
No files found.
dlls/comdlg32/fontdlg.c
View file @
90ca8eb2
...
...
@@ -221,7 +221,7 @@ BOOL WINAPI ChooseFontW(LPCHOOSEFONTW lpChFont)
if
(
TRACE_ON
(
commdlg
))
_dump_cf_flags
(
lpChFont
->
Flags
);
if
(
lpChFont
->
Flags
&
(
CF_SELECTSCRIPT
|
CF_NOVERTFONTS
)
)
if
(
lpChFont
->
Flags
&
CF_SELECTSCRIPT
)
FIXME
(
": unimplemented flag (ignored)
\n
"
);
return
DialogBoxIndirectParamW
(
COMDLG32_hInstance
,
template
,
...
...
@@ -274,7 +274,7 @@ BOOL WINAPI ChooseFontA(LPCHOOSEFONTA lpChFont)
}
if
(
TRACE_ON
(
commdlg
))
_dump_cf_flags
(
lpChFont
->
Flags
);
if
(
lpChFont
->
Flags
&
(
CF_SELECTSCRIPT
|
CF_NOVERTFONTS
)
)
if
(
lpChFont
->
Flags
&
CF_SELECTSCRIPT
)
FIXME
(
": unimplemented flag (ignored)
\n
"
);
return
DialogBoxIndirectParamA
(
COMDLG32_hInstance
,
template
,
...
...
@@ -325,6 +325,9 @@ static INT AddFontFamily(const ENUMLOGFONTEXW *lpElfex, const NEWTEXTMETRICEXW *
if
(
lpcf
->
Flags
&
CF_TTONLY
)
if
(
!
(
nFontType
&
TRUETYPE_FONTTYPE
))
return
1
;
if
(
lpcf
->
Flags
&
CF_NOVERTFONTS
)
if
(
lplf
->
lfFaceName
[
0
]
==
'@'
)
return
1
;
if
(
e
)
e
->
added
++
;
...
...
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