ScaleCoordinates with DrawVectorText shows in Linux other results than expected.

Post bugreports for the Linux version here
juergenkulow
Enthusiast
Enthusiast
Posts: 540
Joined: Wed Sep 25, 2019 10:18 am

ScaleCoordinates with DrawVectorText shows in Linux other results than expected.

Post by juergenkulow »

Code: Select all

; ScaleCoordinates with DrawVectorText shows in Linux other results than expected.
FontRequester("",60,#PB_Font_Bold)
If OpenWindow(0, 0, 0, 800, 600, "VectorDrawing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
    CanvasGadget(0, 0, 0, 800, 600)       
    If StartVectorDrawing(CanvasVectorOutput(0))     
      VectorFont(LoadFont(0, SelectedFontName(), 60, #PB_Font_Bold))
      VectorSourceColor(RGBA(0, 0, 255, 128))
      MovePathCursor(0, 0)
      DrawVectorText("Test")    
      ScaleCoordinates(1, 2)    
      VectorSourceColor(RGBA(255, 0, 0, 128))
      MovePathCursor(0, 0)
      DrawVectorText("Test")        
      StopVectorDrawing()
    EndIf   
    Repeat
      Event = WaitWindowEvent()
    Until Event = #PB_Event_CloseWindow
  EndIf
Linux x64 6.00 LTS:
Image
Windows x64 6.00 LTS:
Image