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
351ccb76
Commit
351ccb76
authored
Jun 10, 2008
by
Jason Rumney
Browse files
(add_opentype_font_name_to_list): Skip non unicode fonts.
parent
eee6de73
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/w32uniscribe.c
src/w32uniscribe.c
+7
-0
No files found.
src/ChangeLog
View file @
351ccb76
2008-06-10 Jason Rumney <jasonr@gnu.org>
* w32uniscribe.c (add_opentype_font_name_to_list): Skip non unicode
fonts.
2008-06-10 Chong Yidong <cyd@stupidchicken.com>
* xfns.c (Fx_font_dialog): New function.
...
...
src/w32uniscribe.c
View file @
351ccb76
...
...
@@ -485,6 +485,13 @@ add_opentype_font_name_to_list (logical_font, physical_font, font_type,
&&
font_type
!=
TRUETYPE_FONTTYPE
)
return
1
;
/* Skip fonts that have no unicode coverage. */
if
(
!
physical_font
->
ntmFontSig
.
fsUsb
[
3
]
&&
!
physical_font
->
ntmFontSig
.
fsUsb
[
2
]
&&
!
physical_font
->
ntmFontSig
.
fsUsb
[
1
]
&&
!
(
physical_font
->
ntmFontSig
.
fsUsb
[
0
]
&
0x3fffffff
))
return
1
;
family
=
font_intern_prop
(
logical_font
->
elfLogFont
.
lfFaceName
,
strlen
(
logical_font
->
elfLogFont
.
lfFaceName
),
1
);
if
(
!
memq_no_quit
(
family
,
*
list
))
...
...
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