-
Notifications
You must be signed in to change notification settings - Fork 602
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: OIIO::getattribute queries for available font families and styles (
#4523) Add an API to query available fonts based on family and style name. The API can be used to build a UI where users can select a font from a list. They consist of new queries for `OIIO::getattribute()`: - `string font_family_list` A semicolon-separated list of all the font family names that OpenImageIO can find. - `string font_style_list:family` A semicolon-separated list of all the font style names that belong to the given font family. - `string font_filename:family:style` The font file (with full path) that defines the given font family and style. Fixes #4503. --------- Signed-off-by: peter.horvath <peter.horvath@autodesk.com>
- Loading branch information
1 parent
3c3f715
commit d1f198c
Showing
4 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters