racket / racket/drracket

Where is drracket-core-lib/drracket/private/font.rkt getting the smoothing settings from?

Open
#741 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
516
Forks
103
PR merge metrics
No merged PRs in 30d

Description

Hi, on Windows I never updated DrRacket past 8.5 because the font smoothing values changed for the worse.

On Linux I have 8.17 flatpak installed and I do know my way around a fontconfig file and environment variables but I need to understand how DrRacket knows what and where to set for None, Some and All so I can see if I can make suggestions on making it better.

The file in the path in the subject line doesn't provide values, just calls something else. I can tell it is not using the values I have defined in the system.

From pixel-peeping I can tell that "All" is using sub-pixel with the colour fringes, "Some" is using greyscale. But settings for hinting, lcdfilter, etc. seem like they need to be adjusted for all 3 categories. Freetype interpreter version # as well makes a difference.

Is there a place where these values are defined? I know it is doing its own thing because it does on Windows.

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.

Research direction

Read drracket-core-lib/drracket/private/font.rkt and follow the call that supplies the smoothing settings rather than treating that file as the source. Trace where None, Some, and All are defined and how the Windows and Linux values differ; done means identifying those sources clearly enough to evaluate possible improvements.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
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.