undefined: gg.LoadFontFaceFromReader i really have no clue any help here please
Could you share some more context? In particular, I’d like to know what gg
is. Is it a module you import? Does it define that function you are trying to use?
of course i try to convert my barrcode generator in standalone wepp or app all the fonts are in my static folder, but i have this error without this piece of code it compiles fine but impossible to load the font.
As far as I can see this package doesn’t have this function. It has LoadFontFace
only for something similar here. If you need to operate on reader, than you can just take the code as the example and write a wrapper yourself
solve i change and make use the windows dir font not need to store the desired font in a static folder anymore now i just need to find and do the same thing for the generated barcode preview ( generate it in the wind temp folder ) so i the compiled app won’t need any static folder to save in
thank you guys