Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
fontconfig
fontconfig
Commits
6a13a21e
Commit
6a13a21e
authored
Sep 13, 2017
by
Behdad Esfahbod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[varfonts] Fetch optical-size for named instances
parent
0f9bbbcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/fcfreetype.c
src/fcfreetype.c
+4
-1
No files found.
src/fcfreetype.c
View file @
6a13a21e
...
...
@@ -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
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment