summaryrefslogtreecommitdiff
path: root/src/fcobjs.h
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2013-11-20 18:44:59 +0900
committerAkira TAGOH <akira@tagoh.org>2014-03-26 12:19:04 +0900
commit3cd573fc1fb67db75cd356cad3e901d24af1ce8a (patch)
tree095232bb40675944100f4b88702b791d1f281729 /src/fcobjs.h
parent9260b7ec39c34ce68d74e16d47917290a8c3f35a (diff)
downloadfontconfig-3cd573fc1fb67db75cd356cad3e901d24af1ce8a.tar.gz
Bug 71287 - size specific design selection support in OS/2 table version 5
This feature requires the FreeType 2.5.1 or later at the build time. Besides <range> element allows <double> elements with this changes. This may breaks the cache but not bumping in this change sets at this moment. please be aware if you want to try it and run fc-cache before/after to avoid the weird thing against it.
Diffstat (limited to 'src/fcobjs.h')
-rw-r--r--src/fcobjs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcobjs.h b/src/fcobjs.h
index a0ee079..72e71f9 100644
--- a/src/fcobjs.h
+++ b/src/fcobjs.h
@@ -31,7 +31,7 @@ FC_OBJECT (FULLNAMELANG, FcTypeString, NULL)
FC_OBJECT (SLANT, FcTypeInteger, FcCompareNumber)
FC_OBJECT (WEIGHT, FcTypeInteger, FcCompareNumber)
FC_OBJECT (WIDTH, FcTypeInteger, FcCompareNumber)
-FC_OBJECT (SIZE, FcTypeDouble, NULL)
+FC_OBJECT (SIZE, FcTypeRange, FcCompareSizeRange)
FC_OBJECT (ASPECT, FcTypeDouble, NULL)
FC_OBJECT (PIXEL_SIZE, FcTypeDouble, FcCompareSize)
FC_OBJECT (SPACING, FcTypeInteger, FcCompareNumber)