fix some (not all) glyph_to_cmap odd returns
I think some of these discrepencies between glyph_is_cmap and
glyph_to_cmap started after b14b830b because the additional
ranges added by that didn't have a corresponding return in
glyph_to_cmap.
This commit is contained in:
+5
-3
@@ -729,9 +729,11 @@ enum glyph_offsets {
|
|||||||
? (S_altar) \
|
? (S_altar) \
|
||||||
: glyph_is_cmap_b(glyph) \
|
: glyph_is_cmap_b(glyph) \
|
||||||
? (((glyph) - GLYPH_CMAP_B_OFF) + S_grave) \
|
? (((glyph) - GLYPH_CMAP_B_OFF) + S_grave) \
|
||||||
: glyph_is_cmap_c(glyph) \
|
: glyph_is_cmap_zap(glyph) \
|
||||||
? (((glyph) - GLYPH_CMAP_C_OFF) + S_digbeam) \
|
? (((glyph) - GLYPH_ZAP_OFF) + S_vbeam) \
|
||||||
: NO_GLYPH)
|
: glyph_is_cmap_c(glyph) \
|
||||||
|
? (((glyph) - GLYPH_CMAP_C_OFF) + S_digbeam) \
|
||||||
|
: NO_GLYPH)
|
||||||
|
|
||||||
#define glyph_to_swallow(glyph) \
|
#define glyph_to_swallow(glyph) \
|
||||||
(glyph_is_swallow(glyph) ? (((glyph) - GLYPH_SWALLOW_OFF) & 0x7) : 0)
|
(glyph_is_swallow(glyph) ? (((glyph) - GLYPH_SWALLOW_OFF) & 0x7) : 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user