with right to left languages (arabic), pdfvectoroutput don't print words correctly, letters are always spread from left to right without being tied together as it must be.
Code: Select all
LoadFont(0, "Times New Roman", 20)
If StartVectorDrawing(SvgVectorOutput(GetUserDirectory(#PB_Directory_Desktop)+"test.svg", 595, 842))
VectorFont(FontID(0), 25)
MovePathCursor(20, 20)
DrawVectorText("مرحبا")
StopVectorDrawing() ; svg
EndIf
RunProgram(GetUserDirectory(#PB_Directory_Desktop)+"test.svg")
If StartVectorDrawing(PdfVectorOutput(GetUserDirectory(#PB_Directory_Desktop)+"test.pdf", 595, 842))
VectorFont(FontID(0), 25)
MovePathCursor(20, 20)
DrawVectorText("مرحبا")
StopVectorDrawing() ; pdf
EndIf
RunProgram(GetUserDirectory(#PB_Directory_Desktop)+"test.pdf")
is this a bug? Honestly I've seen many graphic software like that. But the correct svg behaviour makes me suspicious.
If it isn't a bug, Moderator, please move to "Feature Requests and Wishlists".
Thanks