On Wed, Apr 02, 2003 at 08:53:57AM -0800, Keith Packard wrote: > > Around 10 o'clock on Apr 2, Albert Chin wrote: > > > $ rm .fonts.cache-1 > > $ FC_DEBUG=20 qtconfig >/tmp/a > > $ FC_DEBUG=20 qtconfig >/tmp/b > > > > Should I expect /tmp/a and /tmp/b to be the same? > > You've got FC_DBG_CACHE and FC_DBG_EDIT set, and certainly the output from > FC_DBG_CACHE will differ depending on how the cache is filled. You should > get the same output from FC_DBG_MATCH and FC_DBG_EDIT, so a better test > would be: > > $ FC_DEBUG=5 qtconfig > /tmp/a Ok, I did: $ rm .fonts.cache-1 $ FC_DEBUG=5 qtconfig >/tmp/a $ FC_DEBUG=5 qtconfig >/tmp/b $ diff -u /tmp/a /tmp/b Output below. -- albert chin (china@xxxxxxxxxxxxxxxxxx) -- snip snip --- /tmp/a 2003-04-02 10:55:44.103477045 -0600 +++ /tmp/b 2003-04-02 10:55:55.414088802 -0600 @@ -222,27 +222,26 @@ weight: 100(i)(s) width: 100(i)(s) -Best score 0 0 0 0 6 0 0 0 0 0 0 0 0 0 2.14748e+11Pattern 12 of 16 +Best score 0 0 0 0 6 0 0 0 0 0 0 0 0 0 2.14748e+11Pattern 11 of 11 charset: set(s) family: "Helvetica"(s) - file: "/usr/openwin/lib/X11/fonts/Type1/Helvetica-Oblique.pfa"(s) + file: "/usr/openwin/lib/X11/fonts/Type1/Helvetica.pfa"(s) fontversion: 0(i)(s) index: 0(i)(s) lang: aa|ast|ay|bi|br|ch|co|da|de|en|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn|no|oc|om|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|vot|wa|xh|yap|zu(s) outline: FcTrue(s) scalable: FcTrue(s) slant: 0(i)(s) - source: "FreeType"(s) - style: "Oblique"(s) + style: "Regular"(s) weight: 100(i)(s) -FcConfigSubstitute Pattern 26 of 32 +FcConfigSubstitute Pattern 25 of 32 antialias: FcTrue(s) autohint: FcFalse(s) charset: set(s) dpi: 99.9344(f)(s) family: "Helvetica"(s) - file: "/usr/openwin/lib/X11/fonts/Type1/Helvetica-Oblique.pfa"(s) + file: "/usr/openwin/lib/X11/fonts/Type1/Helvetica.pfa"(s) fontversion: 0(i)(s) globaladvance: FcTrue(s) hinting: FcTrue(s) @@ -258,8 +257,7 @@ scale: 1(f)(s) size: 12(f)(s) slant: 0(i)(s) - source: "FreeType"(s) - style: "Oblique"(s) + style: "Regular"(s) verticallayout: FcFalse(s) weight: 100(i)(s) width: 100(i)(s) @@ -275,13 +273,13 @@ FcConfigSubstitute test font any slant Equal roman FcConfigSubstitute test pattern any slant NotEqual roman No match -FcConfigSubstitute donePattern 26 of 32 +FcConfigSubstitute donePattern 25 of 32 antialias: FcTrue(s) autohint: FcFalse(s) charset: set(s) dpi: 99.9344(f)(s) family: "Helvetica"(s) - file: "/usr/openwin/lib/X11/fonts/Type1/Helvetica-Oblique.pfa"(s) + file: "/usr/openwin/lib/X11/fonts/Type1/Helvetica.pfa"(s) fontversion: 0(i)(s) globaladvance: FcTrue(s) hinting: FcTrue(s) @@ -297,8 +295,7 @@ scale: 1(f)(s) size: 12(f)(s) slant: 0(i)(s) - source: "FreeType"(s) - style: "Oblique"(s) + style: "Regular"(s) verticallayout: FcFalse(s) weight: 100(i)(s) width: 100(i)(s) @@ -415,7 +412,7 @@ weight: 200(i)(s) width: 100(i)(s) -Best score 0 0 0 0 6 0 0 0 0 0 0 0 0 0 2.14748e+11Pattern 12 of 16 +Best score 0 0 0 0 6 0 0 0 0 0 0 0 0 0 2.14748e+11Pattern 11 of 11 charset: set(s) family: "Helvetica"(s) file: "/usr/openwin/lib/X11/fonts/Type1/Helvetica-Bold.pfa"(s) @@ -425,11 +422,10 @@ outline: FcTrue(s) scalable: FcTrue(s) slant: 0(i)(s) - source: "FreeType"(s) style: "Bold"(s) weight: 200(i)(s) -FcConfigSubstitute Pattern 26 of 32 +FcConfigSubstitute Pattern 25 of 32 antialias: FcTrue(s) autohint: FcFalse(s) charset: set(s) @@ -451,7 +447,6 @@ scale: 1(f)(s) size: 12(f)(s) slant: 0(i)(s) - source: "FreeType"(s) style: "Bold"(s) verticallayout: FcFalse(s) weight: 200(i)(s) @@ -468,7 +463,7 @@ FcConfigSubstitute test font any slant Equal roman FcConfigSubstitute test pattern any slant NotEqual roman No match -FcConfigSubstitute donePattern 26 of 32 +FcConfigSubstitute donePattern 25 of 32 antialias: FcTrue(s) autohint: FcFalse(s) charset: set(s) @@ -490,7 +485,6 @@ scale: 1(f)(s) size: 12(f)(s) slant: 0(i)(s) - source: "FreeType"(s) style: "Bold"(s) verticallayout: FcFalse(s) weight: 200(i)(s) @@ -608,27 +602,26 @@ weight: 100(i)(s) width: 100(i)(s) -Best score 0 0 0 0 6 0 0 0 0 0 0 0 0 0 2.14748e+11Pattern 12 of 16 +Best score 0 0 0 0 6 0 0 0 0 0 0 0 0 0 2.14748e+11Pattern 11 of 11 charset: set(s) family: "Helvetica"(s) - file: "/usr/openwin/lib/X11/fonts/Type1/Helvetica-Oblique.pfa"(s) + file: "/usr/openwin/lib/X11/fonts/Type1/Helvetica.pfa"(s) fontversion: 0(i)(s) index: 0(i)(s) lang: aa|ast|ay|bi|br|ch|co|da|de|en|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn|no|oc|om|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|vot|wa|xh|yap|zu(s) outline: FcTrue(s) scalable: FcTrue(s) slant: 0(i)(s) - source: "FreeType"(s) - style: "Oblique"(s) + style: "Regular"(s) weight: 100(i)(s) -FcConfigSubstitute Pattern 26 of 32 +FcConfigSubstitute Pattern 25 of 32 antialias: FcTrue(s) autohint: FcFalse(s) charset: set(s) dpi: 99.9344(f)(s) family: "Helvetica"(s) - file: "/usr/openwin/lib/X11/fonts/Type1/Helvetica-Oblique.pfa"(s) + file: "/usr/openwin/lib/X11/fonts/Type1/Helvetica.pfa"(s) fontversion: 0(i)(s) globaladvance: FcTrue(s) hinting: FcTrue(s) @@ -644,8 +637,7 @@ scale: 1(f)(s) size: 12(f)(s) slant: 0(i)(s) - source: "FreeType"(s) - style: "Oblique"(s) + style: "Regular"(s) verticallayout: FcFalse(s) weight: 100(i)(s) width: 100(i)(s) @@ -661,13 +653,13 @@ FcConfigSubstitute test font any slant Equal roman FcConfigSubstitute test pattern any slant NotEqual roman No match -FcConfigSubstitute donePattern 26 of 32 +FcConfigSubstitute donePattern 25 of 32 antialias: FcTrue(s) autohint: FcFalse(s) charset: set(s) dpi: 99.9344(f)(s) family: "Helvetica"(s) - file: "/usr/openwin/lib/X11/fonts/Type1/Helvetica-Oblique.pfa"(s) + file: "/usr/openwin/lib/X11/fonts/Type1/Helvetica.pfa"(s) fontversion: 0(i)(s) globaladvance: FcTrue(s) hinting: FcTrue(s) @@ -683,8 +675,7 @@ scale: 1(f)(s) size: 12(f)(s) slant: 0(i)(s) - source: "FreeType"(s) - style: "Oblique"(s) + style: "Regular"(s) verticallayout: FcFalse(s) weight: 100(i)(s) width: 100(i)(s)