[
https://issues.apache.org/jira/browse/PIVOT-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264596#comment-17264596
]
Roger Lee Whitcomb commented on PIVOT-1051:
-------------------------------------------
First submission:
r1885461 | rwhitcomb | 2021-01-13 17:12:38 -0800 (Wed, 13 Jan 2021) | 3 lines
Changed paths:
M /pivot/trunk/demos/src/org/apache/pivot/demos/text/TextPaneDemo.java
M /pivot/trunk/wtk/src/org/apache/pivot/wtk/FontUtilities.java
M /pivot/trunk/wtk/src/org/apache/pivot/wtk/Theme.java
M /pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme.java
PIVOT-1051: First bunch of code changes to support lists of font names.
Not complete yet as we investigate how to implement this.
> Allow list of font names wherever fonts are described
> -----------------------------------------------------
>
> Key: PIVOT-1051
> URL: https://issues.apache.org/jira/browse/PIVOT-1051
> Project: Pivot
> Issue Type: Improvement
> Components: wtk, wtk-terra
> Affects Versions: 2.0.5
> Reporter: Roger Lee Whitcomb
> Assignee: Roger Lee Whitcomb
> Priority: Minor
> Fix For: 2.1.0
>
>
> CSS allows a list of font names (such as "Arial,Verdana,SansSerif" to be
> specified wherever a font name is needed. The list will be searched, and the
> first font found will be used. It would be helpful (for cross-platform use,
> if nothing else) if the same capability would be available for Pivot.
> There are only two or three places where this would need to be implemented
> (FontUtilities, Theme, and TerraTheme come to mind). Maybe a few more...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)