VECTOR AND UNICODE FONT
Posted: Fri Nov 14, 2025 5:20 pm
I try to load a font to use character for table but when i try to use rthis font that's dosen't work
Can someone help me
Code: Select all
If RegisterFontFile(GetUserDirectory(#PB_Directory_Desktop ) + "Fixedsys 8514oem (Unicode).ttf")
Debug LoadFont(0, "Fixedsys 8514oem (Unicode)", 12)
If StartVectorDrawing(PdfVectorOutput("test.pdf", 595, 842))
VectorFont(FontID(0), 12)
MovePathCursor(20, 20)
DrawVectorText(Chr(208))
NewVectorPage()
MovePathCursor(20, 20)
DrawVectorText("Voici la page 2...")
StopVectorDrawing()
EndIf
EndIf
End