diff options
| author | Kenichi Handa | 2008-06-10 02:07:53 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-06-10 02:07:53 +0000 |
| commit | a1a9410256d2618f5f6cbf3683b4e84e43afc64d (patch) | |
| tree | 6746eb3512e0349c729de5b0796203ab0303bb81 | |
| parent | 4cb35b63ba1b22b8a47ddc3a89c0ac1665a26069 (diff) | |
| download | emacs-a1a9410256d2618f5f6cbf3683b4e84e43afc64d.tar.gz emacs-a1a9410256d2618f5f6cbf3683b4e84e43afc64d.zip | |
(ftfont_pattern_entity): Adjusted for the change of font_intern_prop.
| -rw-r--r-- | src/ftfont.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index 47aea264b74..96e02717bfc 100644 --- a/src/ftfont.c +++ b/src/ftfont.c | |||
| @@ -148,9 +148,9 @@ ftfont_pattern_entity (p, registry, fc_charset_idx) | |||
| 148 | ASET (entity, FONT_REGISTRY_INDEX, registry); | 148 | ASET (entity, FONT_REGISTRY_INDEX, registry); |
| 149 | 149 | ||
| 150 | if (FcPatternGetString (p, FC_FOUNDRY, 0, (FcChar8 **) &str) == FcResultMatch) | 150 | if (FcPatternGetString (p, FC_FOUNDRY, 0, (FcChar8 **) &str) == FcResultMatch) |
| 151 | ASET (entity, FONT_FOUNDRY_INDEX, font_intern_prop (str, strlen (str))); | 151 | ASET (entity, FONT_FOUNDRY_INDEX, font_intern_prop (str, strlen (str), 1)); |
| 152 | if (FcPatternGetString (p, FC_FAMILY, 0, (FcChar8 **) &str) == FcResultMatch) | 152 | if (FcPatternGetString (p, FC_FAMILY, 0, (FcChar8 **) &str) == FcResultMatch) |
| 153 | ASET (entity, FONT_FAMILY_INDEX, font_intern_prop (str, strlen (str))); | 153 | ASET (entity, FONT_FAMILY_INDEX, font_intern_prop (str, strlen (str), 1)); |
| 154 | if (FcPatternGetInteger (p, FC_WEIGHT, 0, &numeric) == FcResultMatch) | 154 | if (FcPatternGetInteger (p, FC_WEIGHT, 0, &numeric) == FcResultMatch) |
| 155 | { | 155 | { |
| 156 | if (numeric >= FC_WEIGHT_REGULAR && numeric < FC_WEIGHT_MEDIUM) | 156 | if (numeric >= FC_WEIGHT_REGULAR && numeric < FC_WEIGHT_MEDIUM) |