Hello,
Im making engraved products simulation project. Its almost done but a few small problems are left to cope with.
I am usind replace_texture puzzle to change an existing texture, with new one from browser (svg with user customized content). Everything works fine, but verge 3d does not show correct font from svg.
To load font in svg I use these lines in svg file:
<defs>
<style type="text/css">
@font-face {
font-family: CF One Two Trees;
src: url('{{url_for('static', filename='fonts/CF One Two Trees.woff')}}');
}
</style>
</defs>
The font “CF One Two Trees.woff” is taken from server and svg is showed with correct font in browser. But when I pass this svg to verge3d it loads svg with default fonts, unless I have this font installed in my pc, then its ok.
I have tried putting font in v3d app folder and loading it with “load font” puzzle, but it seems that this puzzle is suited for other purposes and doesnt work on my situation.
Is there any way I can load that font with verge3d?