Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • solarus solarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 222
    • Issues 222
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Solarus Games
  • solarussolarus
  • Issues
  • #1390

Closed
Open
Created Jun 11, 2019 by llamazing@llamazing

TTF fonts use wrong color for antialiasing

This problem is most noticeable when using a font with a color other than black or white (only applies to TTF fonts with antialiasing enabled).

How it looks in Solarus:
Solarus_antialiasing

How it looks in GIMP:
GIMP_antialiasing

It is easier to see when zoomed in (the top one is from Solarus). The pixels around the edges where antialiasing occurs should be shades of red but instead appear to be shades of grey.

antialiasing_compare

The problem may be related to what @stdgregwar mentioned in discord about pre-multiplied alpha vs straight alpha.

Possibly related to issue #1389 (closed) (may explain why TTF fonts are not appearing as bold as they should).

The images from Solarus come from version 1.6.0 running on MacOS, but the problem also exists on Ubuntu with solarus-dev branch.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking