Open knupel opened 5 years ago
Sorry I close I found my track its org.apache.batik.svggen.font.Font
I try to make my own Batik Font, but I cannot manage how that's work, when I try to write
String font_path = "/Users/.../.../Automaton Caps Light SSi Light.ttf";
font = org.apache.batik.svggen.font.Font.create(font_path);
the font is null, when I try to like in your library
public RFont(String fontPath, int size, int align) throws RuntimeException{
// Try to find the font as font path
byte[] bs = RG.parent().loadBytes(fontPath);
f = Font.create(bs);
It's return I cannot use byte []
like write in the javadoc https://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/svggen/font/Font.html, so I don't understand how that's can work for you and why that's don't work for me... I'm sorry to use this channel to ask my question, but Batik system is not really documented on the web :(
Vous êtes mon seul espoir, alors si vous avez un peu de temps à m'accorder je suis preneur !
Hello I try to understand how work the Font part of Geomerative, but I've a problem with few method from
Font
likeFont.create()
orFont.getNameTable()
. I don't found those methodes inclass SVGFont
from Batik, but I found no track in the classclass RFont
too, and no track inclass Font
, and no track inGoogle
There is a magical trick for that ?