Hi Rob,
I investigated a bit and so far no luck producing unicode subscript.
Does it mean dead end?
In ThinBASIC, never!
I prepared little OOP helper for you, used like:
Uses "UI"
#INCLUDE "uSubscriptWriter.tBasicU"
DWord hCanvas = Canvas_Window("Subscript", 100, 100, 640, 480)
Canvas_Attach(hCanvas, 0, TRUE)
Dim sw As SubscriptWriter
sw.Init("Courier New", 14, %CANVAS_FONTSTYLE_NORMAL)
sw.Print("Speed")
sw.PrintSub("Passenger")
sw.Print(" = Speed")
sw.PrintSub("Vehicle")
Canvas_Redraw
Canvas_WaitKey
Find the unit in the attachement please.
Petr
Bookmarks