Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
59501605
Commit
59501605
authored
May 21, 2019
by
YAMAMOTO Mitsuharu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/ftcrfont.c (ftcrfont_open): Skip zero glyph index.
parent
fb3b78f7
Pipeline
#1763
failed with stage
in 50 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/ftcrfont.c
src/ftcrfont.c
+1
-1
No files found.
src/ftcrfont.c
View file @
59501605
...
...
@@ -190,7 +190,7 @@ ftcrfont_open (struct frame *f, Lisp_Object entity, int pixel_size)
{
if
(
glyphs
!=
&
stack_glyph
)
cairo_glyph_free
(
glyphs
);
else
else
if
(
stack_glyph
.
index
)
{
int
this_width
=
ftcrfont_glyph_extents
(
font
,
stack_glyph
.
index
,
NULL
);
...
...
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