openframeworks / openframeworks/openFrameworks

small font sizes yield oversimplified glyph shapes

Open
#825 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug core section-typography
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

Loading Futura at font size 10 and simplify=0 yields oversimplified chars in a pdf render. I'm not sure if there's a way to fix this if the fonts are small.

A workaround is to load the font at a larger size, say 40, then scale down by 0.25 when drawing.

The font below is a zoom of the pdf export using font size 10. The font above is Futura at font size 144 by comparison.

oversimplified fonts

Contributor guide

Open the contributing guide

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.

Research direction

Reproduce the PDF rendering case described in the issue: load Futura at font size 10 with simplify=0 and compare its glyph shapes with the larger-size rendering. Investigate the font-rendering path used for PDF export; done means small-size glyphs are no longer oversimplified without relying on the larger-size-and-scale workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.