ref: afe9aa1eb04787b6407952d5696a6bfeb9f65f20
parent: 0505001c7c8b23eb35649b6426fcb112c8160e5e
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun Jul 14 13:57:59 EDT 2024
CGLYPH_FL_SIGNED_XY must be visible
--- a/otf.c.in
+++ b/otf.c.in
@@ -257,7 +257,6 @@
enum {
CGLYPH_FL_WORD_ARGS = 1<<0,
- CGLYPH_FL_SIGNED_XY = 1<<1,
};
static int
@@ -339,7 +338,8 @@
print_ComponentGlyph(Otfile *f, int indent, Otf *o, ComponentGlyph *v)
{
void *a = f->aux;
- f->print(a, "%*s%s: %#"PRIx16"%s%s%s%s%s%s%s%s%s%s\n", indent, "", "flags", v->flags,
+ f->print(a, "%*s%s: %#"PRIx16"%s%s%s%s%s%s%s%s%s%s%s\n", indent, "", "flags", v->flags,
+ (v->flags&CGLYPH_FL_SIGNED_XY)?" CGLYPH_FL_SIGNED_XY":"",
(v->flags&CGLYPH_FL_ROUND_TO_GRID_XY)?" CGLYPH_FL_ROUND_TO_GRID_XY":"",
(v->flags&CGLYPH_FL_SCALE)?" CGLYPH_FL_SCALE":"",
(v->flags&CGLYPH_FL_MORE_COMPONENTS)?" CGLYPH_FL_MORE_COMPONENTS":"",
--- a/otf.h.in
+++ b/otf.h.in
@@ -27,6 +27,7 @@
typedef struct ComponentGlyph ComponentGlyph;
enum {
+ CGLYPH_FL_SIGNED_XY = 1<<1,
CGLYPH_FL_ROUND_TO_GRID_XY = 1<<2,
CGLYPH_FL_SCALE = 1<<3,
CGLYPH_FL_MORE_COMPONENTS = 1<<5,
--- a/plan9/otf.c
+++ b/plan9/otf.c
@@ -271,7 +271,6 @@
enum {
CGLYPH_FL_WORD_ARGS = 1<<0,
- CGLYPH_FL_SIGNED_XY = 1<<1,
};
static int
@@ -353,7 +352,8 @@
print_ComponentGlyph(Otfile *f, int indent, Otf *o, ComponentGlyph *v)
{
void *a = f->aux;
- f->print(a, "%*s%s: %#"PRIx16"%s%s%s%s%s%s%s%s%s%s\n", indent, "", "flags", v->flags,
+ f->print(a, "%*s%s: %#"PRIx16"%s%s%s%s%s%s%s%s%s%s%s\n", indent, "", "flags", v->flags,
+ (v->flags&CGLYPH_FL_SIGNED_XY)?" CGLYPH_FL_SIGNED_XY":"",
(v->flags&CGLYPH_FL_ROUND_TO_GRID_XY)?" CGLYPH_FL_ROUND_TO_GRID_XY":"",
(v->flags&CGLYPH_FL_SCALE)?" CGLYPH_FL_SCALE":"",
(v->flags&CGLYPH_FL_MORE_COMPONENTS)?" CGLYPH_FL_MORE_COMPONENTS":"",
--- a/plan9/otf.h
+++ b/plan9/otf.h
@@ -27,6 +27,7 @@
typedef struct ComponentGlyph ComponentGlyph;
enum {
+ CGLYPH_FL_SIGNED_XY = 1<<1,
CGLYPH_FL_ROUND_TO_GRID_XY = 1<<2,
CGLYPH_FL_SCALE = 1<<3,
CGLYPH_FL_MORE_COMPONENTS = 1<<5,