Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font family matching does not conform to the CSS Fonts 3 specification #18

Open
cbfiddle opened this issue Apr 30, 2017 · 1 comment
Open

Comments

@cbfiddle
Copy link

There are some problems with the resolution of font family names that cause existing SVG files to render improperly.

The CSS Fonts 3 specification says that font family names must be matched case-insensitively (section 5.1). It also requires several standard font family names to be recognized: serif, sans-serif, cursive, fantasy, and monospace. These are not exactly the same as the default Java font family names, esp. Sans Serif (which is the default value in Text.java).

@don-vip
Copy link
Contributor

don-vip commented Oct 14, 2018

I fixed the Java mapping in #30

Fonts remain to be matched case-insensitively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants