summaryrefslogtreecommitdiff
path: root/src/font.h
diff options
context:
space:
mode:
authorKenichi Handa <handa@etlken>2010-07-08 16:56:21 +0900
committerKenichi Handa <handa@etlken>2010-07-08 16:56:21 +0900
commita7840ffb291e13c2a2386ccbd58089e1d7461c16 (patch)
treeaa87386ffe4eed5fb8bc9fc85549213db10a6d1e /src/font.h
parentb32d1614abd91e784a95a34b9979b7ec0c541c9e (diff)
downloademacs-a7840ffb291e13c2a2386ccbd58089e1d7461c16.tar.gz
Make font-get to get :otf value dynamically from a font-object.
Diffstat (limited to 'src/font.h')
-rw-r--r--src/font.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/font.h b/src/font.h
index 952ea269495..0a4839e7791 100644
--- a/src/font.h
+++ b/src/font.h
@@ -159,14 +159,19 @@ enum font_property_index
/* This value is the length of font-spec vector. */
FONT_SPEC_MAX,
- /* The followings are used only for a font-entity. */
+ /* The followings are used only for a font-entity and a font-object. */
/* List of font-objects opened from the font-entity. */
FONT_OBJLIST_INDEX = FONT_SPEC_MAX,
+ /* Font-entity from which the font-object is opened. */
+ FONT_ENTITY_INDEX = FONT_SPEC_MAX,
+
/* This value is the length of font-entity vector. */
FONT_ENTITY_MAX,
+ /* The followings are used only for a font-object. */
+
/* XLFD name of the font (string). */
FONT_NAME_INDEX = FONT_ENTITY_MAX,