Hi, I am playing around with BMFont to create custom fonts for my Watch Face. I want to create a strike-trough font but cannot seem to find a way to do that. Does anyone know how to do it?
TIA
/Fredrik
Hi, I am playing around with BMFont to create custom fonts for my Watch Face. I want to create a strike-trough font but cannot seem to find a way to do that. Does anyone know how to do it?
TIA
/Fredrik
Yes I could do that, but I'd like to use Layouts instead of dc.writes
You can do the drawLine after View.onUpdate() and still use a layout
If you want to do it by way of a font, copy your current one and edit the png file(s) to add the strikethrough.
That's a good idea. then I just need to figure out how long line I should draw, and where to start and stop.
To get the length, use dc.getTextWidthInPixels() for the string you are displaying. For the "x", if it's centered, use the dc widith/2-length/2. For "y", what every the screen y is+dc.getFontHeight()/2