Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High DPI setup. #10

Open
wants to merge 79 commits into
base: master
Choose a base branch
from
Open

High DPI setup. #10

wants to merge 79 commits into from

Conversation

dumol
Copy link
Owner

@dumol dumol commented Nov 20, 2023

This adds a PixelPerfect FontConfig setup geared towards high DPI displays such as modern laptops, tablets, and smartphones.

If you are using a low DPI device (less than 120 dpi) stick to the master branch for now, as more configuring is needed to test this branch in such a scenario. (Improvements are coming your way too, be patient.)

How to test:

  1. Make sure you move aside whatever you have in ~/.config/fontconfig and ~/.local/share/fonts
  2. Clone this repo and check out this branch, then symlink the resulting directory to ~/.config/fontconfig.
  3. Download the relevant pre-release 0.4beta1 tarballs from https://github.com/dumol/PixelPerfect/releases/tag/v0.4.0beta1. Those would be the common* and hidpi* packages.
  4. Unpack those tarballs to ~/.local/share/fonts.
  5. Configure your device to use System-ui or Inter for the interface text (these should be identical) and ui-monospace or JetBrains Mono for monospace text.
  6. Log out and in again to fully propagate the changed settings.
  7. If you use Flatpak and/or apps, run the instructions added to the README through 06bfc73.

Check out https://reeddesign.co.uk/test/webfonts.html to see the improvements. Many other web pages should benefit from this setup, including GitHub's web interface here.

Do let me know your thoughts on this, thanks!

@dumol dumol mentioned this pull request Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant