projects
/
m17n
/
libotf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c90239
)
(update_glyph_area): Don't use none_pixmap for
author
handa
<handa>
Fri, 23 Jun 2006 07:41:07 +0000
(07:41 +0000)
committer
handa
<handa>
Fri, 23 Jun 2006 07:41:07 +0000
(07:41 +0000)
glyph index 0 if charmap_index is negative.
example/otfview.c
patch
|
blob
|
history
diff --git
a/example/otfview.c
b/example/otfview.c
index
5a61b85
..
c528737
100644
(file)
--- a/
example/otfview.c
+++ b/
example/otfview.c
@@
-211,7
+211,7
@@
update_glyph_area ()
if (charmap_index >= 0)
index = FT_Get_Char_Index (face, (FT_ULong) index);
- if (! index)
+ if (charmap_index >= 0 && ! index)
XtSetArg (arg[0], XtNbitmap, none_pixmap);
else
{