Skip to content
Crown-OSPublic

About

Patched third-party crates shared by CrownOS workspaces

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Vendored crates

vello_encoding 0.6.0 and 0.9.0

Crisp text for every vello renderer in CrownOS: masonry/xilem (0.6) and crownshell (0.9). Upstream only hints glyphs vertically and places them at fractional x, so unhinted fonts such as Inter render soft stems. Two changes:

  • resolve.rs: hinted glyph origins snap to whole pixels on both axes, not only y.
  • stem darkening: outlines grow by 0.07px per side (STEM_DARKENING), in stem_darkening.rs (0.6) and FontEmbolden::with_stem_darkening (0.9).

Each consuming workspace opts in with:

[patch.crates-io]
vello_encoding = { path = "../vendor/vello_encoding-0.9.0" }
# a workspace that also has xilem/masonry adds the 0.6 copy under a second key:
vello_encoding_06 = { package = "vello_encoding", path = "../vendor/vello_encoding-0.6.0" }

Drop a copy when its vello version is no longer in use.

pipewire-native 0.1.4

Used by crownbar's audio service. Upstream (0.1.4 and 0.2.0) numbers NodeState and LinkState from zero, while PipeWire sends error = -1, creating = 0 … running = 3 for nodes and error = -2, unlinked = -1, init = 0 … for links. Every state therefore decoded one step off (a running node read as idle), and a node entering its error state — a Bluetooth sink as the headset disconnects — failed to decode, which tears the whole connection down. One change, in src/proxy/node.rs and src/proxy/link.rs: the enums carry PipeWire's own values.

[patch.crates-io]
pipewire-native = { path = "../vendor/pipewire-native-0.1.4" }

About

Patched third-party crates shared by CrownOS workspaces

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages