Rich2 / openstrat

Cross Platform Scala 2d graphics (but 3d compatible), basic geometry, maps, Earth maps, hex-tiling and strategy library(s).
https://richstrat.com
Apache License 2.0
22 stars 8 forks source link

TextGraphic fields #42

Closed Rich2 closed 5 years ago

Rich2 commented 6 years ago

Possible additional fields required for TextGraphic and TextOutline, in particular baseLine.

w0d commented 5 years ago

early november job for me :+1:

w0d commented 5 years ago

@Rich2 are you drawn to utilising Bold/Itallics if so weights could also be an option

Rich2 commented 5 years ago

@w0d I'd say for now just go for parity with what ever Web Canvas offers for test.

w0d commented 5 years ago

Rich2/openstrat@539647f Rich2/openstrat@a9c163e baseLine: BaseLine = [ TopBL | MiddleBL | AlphabeticBL | BottomBL ] added to TextGraphic & TextOutline for jFx & WebCanvas to do bold & italic doesn't make sense timewise and I'd rather put time for other issues.

w0d commented 5 years ago

re 5b0e1bb that looks a nicer way - cheers