-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vg: remove {Add,Make}Font #696
Comments
SGTM |
Use embedded characted encoding table for embedded fonts. This relies on Go >= 1.16 for the "embed" package. Updates gonum#696.
Use plot/font.Face to translate fonts data to the format Gio is expecting, without relying on vg.FontMap or vg/fonts.Asset. Updates gonum#696.
Use embedded characted encoding table for embedded fonts. This relies on Go >= 1.16 for the "embed" package. Updates gonum#696.
Use plot/font.Face to translate fonts data to the format Gio is expecting, without relying on vg.FontMap or vg/fonts.Asset. Updates gonum#696.
Use embedded characted encoding table for embedded fonts. This relies on Go >= 1.16 for the "embed" package. Updates gonum#696.
Use plot/font.Face to translate fonts data to the format Gio is expecting, without relying on vg.FontMap or vg/fonts.Asset. Updates gonum#696.
Use embedded characted encoding table for embedded fonts. This relies on Go >= 1.16 for the "embed" package. Updates gonum#696.
Use plot/font.Face to translate fonts data to the format Gio is expecting, without relying on vg.FontMap or vg/fonts.Asset. Updates gonum#696.
Use plot/font.Face to translate fonts data to the format Gio is expecting, without relying on vg.FontMap or vg/fonts.Asset. Updates #696.
Use embedded characted encoding table for embedded fonts. This relies on Go >= 1.16 for the "embed" package. Updates gonum#696.
JFYI: I've tried to have a plot rendered to SVG using another default font ( |
@stippi2 Please file an issue. |
Use embedded characted encoding table for embedded fonts. This relies on Go >= 1.16 for the "embed" package. Updates gonum#696.
Use embedded characted encoding table for embedded fonts. This relies on Go >= 1.16 for the "embed" package. Updates gonum#696.
Use embedded characted encoding table for embedded fonts. This relies on Go >= 1.16 for the "embed" package. Updates gonum#696.
as #693 was proof, keeping
vg.AddFont
andvg.MakeFont
is confusing.they were kept because
x/image/font/sfnt.Font
didn't have the ability to give back access to the original[]byte
(orio.Reader
) raw TTF data.that's no longer the case thanks to https://go-review.googlesource.com/c/image/+/291149
AddFont
MakeFont
FontMap
?vg/fonts
(used byvgpdf
)vg.{Add,Make}Font{,Map}
invg/vgpdf
vg.{Add,Make}Font{,Map}
invg/vggio
(AFAICT,
vg.FontMap
is only used inplot/vg/vgpdf
to embed fonts. with thex/image
CL above being merged, we don't needvg.FontMap
there either.)The text was updated successfully, but these errors were encountered: