]> git.wh0rd.org Git - fontconfig.git/commitdiff
Add aspect ratio support to Xft and fontconfig
authorKeith Packard <keithp@keithp.com>
Sun, 2 Jun 2002 20:52:06 +0000 (20:52 +0000)
committerKeith Packard <keithp@keithp.com>
Sun, 2 Jun 2002 20:52:06 +0000 (20:52 +0000)
fontconfig/fontconfig.h
src/fcname.c

index fa1d0e81ebe775a0e62ba9c207c2ce35c4bec3d9..1d1155335ae40bb55fe88cefe2ae98fb1039e067 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $XFree86: xc/lib/fontconfig/fontconfig/fontconfig.h,v 1.13 2002/05/31 04:42:42 keithp Exp $
+ * $XFree86: xc/lib/fontconfig/fontconfig/fontconfig.h,v 1.14 2002/05/31 23:21:24 keithp Exp $
  *
  * Copyright © 2001 Keith Packard, member of The XFree86 Project, Inc.
  *
@@ -49,6 +49,7 @@ typedef int           FcBool;
 #define FC_SLANT           "slant"             /* Int */
 #define FC_WEIGHT          "weight"            /* Int */
 #define FC_SIZE                    "size"              /* Double */
+#define FC_ASPECT          "aspect"            /* Double */
 #define FC_PIXEL_SIZE      "pixelsize"         /* Double */
 #define FC_SPACING         "spacing"           /* Int */
 #define FC_FOUNDRY         "foundry"           /* String */
index c4771498bc8ebab8ac2e872c34d482588db1f15b..26ef53eb118f497ae10108504cb67dbdc134ea78 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $XFree86: xc/lib/fontconfig/src/fcname.c,v 1.3 2002/02/18 22:29:28 keithp Exp $
+ * $XFree86: xc/lib/fontconfig/src/fcname.c,v 1.4 2002/05/29 22:07:33 keithp Exp $
  *
  * Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc.
  *
@@ -34,6 +34,7 @@ static const FcObjectType _FcBaseObjectTypes[] = {
     { FC_SLANT,                FcTypeInteger, },
     { FC_WEIGHT,       FcTypeInteger, },
     { FC_SIZE,         FcTypeDouble, },
+    { FC_ASPECT,       FcTypeDouble, },
     { FC_PIXEL_SIZE,   FcTypeDouble, },
     { FC_SPACING,      FcTypeInteger, },
     { FC_FOUNDRY,      FcTypeString, },