Skip to content

Commit

Permalink
Use published fork of glyphon, avenger-glyphon
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Jan 30, 2024
1 parent 1536e6a commit e790680
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 1,113 deletions.
35 changes: 18 additions & 17 deletions Cargo.lock

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

7 changes: 3 additions & 4 deletions avenger-wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = "BSD-3-Clause"
crate-type = [ "cdylib", "rlib",]

[features]
text-glyphon = [ "glyphon",]
text-glyphon = [ "avenger-glyphon",]
default = [ "text-glyphon",]

[dependencies]
Expand Down Expand Up @@ -48,9 +48,8 @@ workspace = true
workspace = true
optional = true

[dependencies.glyphon]
git = "https://github.com/jonmmease/glyphon.git"
rev = "c468f5dacd4130b27a29b098c4de3f4d5c146209"
[dependencies.avenger-glyphon]
version = "0.3.0"
optional = true

[dependencies.lyon]
Expand Down
2 changes: 1 addition & 1 deletion avenger-wgpu/src/marks/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use avenger::marks::text::{
FontStyleSpec, FontWeightNameSpec, FontWeightSpec, TextAlignSpec, TextBaselineSpec, TextMark,
};

use glyphon::{
use avenger_glyphon::{
Attrs, Buffer, Color, ColorMode, Family, FontSystem, Metrics, Resolution, Shaping, SwashCache,
TextArea, TextAtlas, TextBounds, TextRenderer, Weight,
};
Expand Down
Loading

0 comments on commit e790680

Please sign in to comment.