yutannihilation / wgpugd

A WebGPU Graphics Device for R
https://yutannihilation.github.io/wgpugd/
Other
47 stars 3 forks source link

Font rasterizer #2

Closed yutannihilation closed 2 years ago

yutannihilation commented 2 years ago

glyph_brush or fontdue?

yutannihilation commented 2 years ago

wgpu_glyph, maybe

yutannihilation commented 2 years ago

Thinking this again, I now feel I should not rasterize the fonts. As the main usage is for plotting, texts are (hopefully) not much, and keeping it as vector is good in that we can transform them nicely.