forked from AcademySoftwareFoundation/OpenImageIO
-
Notifications
You must be signed in to change notification settings - Fork 0
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 (
AcademySoftwareFoundation#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 AcademySoftwareFoundation#4503. --------- Signed-off-by: peter.horvath <[email protected]>
- Loading branch information
1 parent
09687d9
commit 8da9ce1
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