servo / servo/font-kit

Support resolving of default Windows fonts

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

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
840
Forks
137
Avg merge
4h 56m
Merged PRs (30d)
1

Description

There are font families like MS Shell Dlg 2 which will not be resolved at the moment:

> cargo run --example match-font -- "MS Shell Dlg 2"
Error: NotFound

I'm not sure if it's possible to resolve them via winapi, but they are defined here: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes\

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

Start with the match-font example and reproduce the MS Shell Dlg 2 lookup failure. Investigate the Windows FontSubstitutes registry path mentioned in the issue and determine how default font families should be resolved. Done means the example resolves MS Shell Dlg 2 instead of returning NotFound.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.