Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[BUG] Font hinting not working #31

Copy link
Copy link
@AndreKR

Description

@AndreKR
Issue body actions

Describe the bug
Here's a magnified rendering of the text "bf" in the font Bahnschrift 20pt using java.awt.Graphics2D.drawString() in Processing:

image

Note how the stems end precisely at a pixel border, so there's no gray "aura".

Now here's the same text rendered using ImageScript:

image

As you can see the grid fitting is not working properly.

To confirm my suspicion I removed the hinting instructions from the letter "f" in FontForge. (Hints -> Edit Instructions... -> Edit -> delete everything) Sure enough now with Java I get the exact same faulty rendering for the "f" as with ImageScript:

image

Platform:

  • OS: Linux
  • Environment: NodeJS in Docker
  • Version: 1.2.16
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.