diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2017-09-13 04:04:56 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2017-09-20 13:13:35 -0700 |
commit | 6a13a21e408d0eead6909db1b13f9a866f254034 (patch) | |
tree | 94cba416dcea396d846e5d518153b0db59e7c185 | |
parent | 0f9bbbcf8f6f8264efb0a2ded4d8d05f3b10f7a4 (diff) | |
download | fontconfig-6a13a21e408d0eead6909db1b13f9a866f254034.tar.gz |
[varfonts] Fetch optical-size for named instances
-rw-r--r-- | src/fcfreetype.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c index e19afe5..0d03208 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -1318,7 +1318,10 @@ FcFreeTypeQueryFace (const FT_Face face, width_mult = mult; break; - /* TODO optical size! */ + case FT_MAKE_TAG ('o','p','s','z'): + if (!FcPatternAddDouble (pat, FC_SIZE, value)) + goto bail1; + break; } } } |