Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c73abf54
Commit
c73abf54
authored
Feb 12, 2009
by
Jason Rumney
Browse files
(add_font_entity_to_list): Fix check for substituted
raster fonts. (Bug#2219)
parent
e26019a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/w32font.c
src/w32font.c
+2
-2
No files found.
src/w32font.c
View file @
c73abf54
...
...
@@ -1433,8 +1433,8 @@ add_font_entity_to_list (logical_font, physical_font, font_type, lParam)
by a foundry, we accept raster fonts if the font name is found
anywhere within the full name. */
if
((
logical_font
->
elfLogFont
.
lfOutPrecision
==
OUT_STRING_PRECIS
&&
strstr
(
logical_font
->
elfFullName
,
logical_font
->
elfLogFont
.
lfFaceName
))
&&
!
strstr
(
logical_font
->
elfFullName
,
logical_font
->
elfLogFont
.
lfFaceName
))
/* Check for well known substitutions that mess things up in the
presence of Type-1 fonts of the same name. */
||
(
match_data
->
pattern
.
lfFaceName
[
0
]
...
...
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