Skip to content

Commit

Permalink
[fontique] use windows-rs for dwrite backend (#85)
Browse files Browse the repository at this point in the history
Swaps out winapi, wio and dwrote for windows-core and windows.
  • Loading branch information
dfrg authored Sep 30, 2024
1 parent 5cd5ea5 commit 3fe799a
Show file tree
Hide file tree
Showing 3 changed files with 335 additions and 168 deletions.
102 changes: 68 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions fontique/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ icu_locid = "1.5.0"
hashbrown = "0.14.5"

[target.'cfg(target_family="windows")'.dependencies]
dwrote = "0.11.0"
winapi = { version = "0.3.9", features = ["dwrite", "dwrite_1", "dwrite_3", "winnt", "unknwnbase", "libloaderapi", "winnls"] }
wio = "0.2.2"
windows = { version = "0.58.0", features = ["implement", "Win32_Graphics_DirectWrite"] }
windows-core = { version = "0.58" }

[target.'cfg(target_vendor="apple")'.dependencies]
core-text = "20.1.0"
Expand Down
Loading

0 comments on commit 3fe799a

Please sign in to comment.