`font-family` seems to be ignored

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
css, swift

Research direction

Start by reproducing the issue with the style.css file used in WPAndroid, setting font-family to Webdings and font-color to red, then compare the rendered screenshots. Confirm that the stylesheet's color is applied while the requested font is not; done means the rendered text uses the installed font without regressing the color styling.

Written by the indexing model from the issue text.

Description

Seems that, despite providing a font-family attribute in our Stylesheets, with a font that is definitively installed and active on my Mac, the font is apparently not used in the rendered screenshots.

For example, even when I edit the style.css file used in WPAndroid to set font-family: 'Webdings' and font-color: red, I can see that the text appears red (so the stylesheet has been found and used) but still in the default font (or at least a font that legible and definitively not Webdings)

Dominant language
Swift
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Automattic/drawText

All issues in Automattic/drawText

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.