cardmaker
cardmaker copied to clipboard
Text does not align to bottom of line when mixing fonts
Describe the bug I would expect fonts to align towards the bottom of a given new line. Instead, when mixing fonts, it has the effect of some needing to be pushed to align properly. Here's the formatting template I have applied around the keywords, with the push:
afb,<f=Slider TI4;39><push=0;19>ANTI-FIGHTER BARRAGE<push=0;-19></f>
bombardment,<f=Slider TI4;39><push=0;19>BOMBARDMENT<push=0;-19></f>
spacecannon,<f=Slider TI4;39><push=0;19>SPACE CANNON<push=0;-19></f>
and where they are referenced:
<b>After another player makes <br>a @[bombardment], @[spacecannon], or @[afb] roll:</b>@[timingEffectBreak]<f=Myriad Pro Light;50>That player rerolls all of their dice.</f>
Desktop (please complete the following information):
- OS: Windows 11
- Version: CardMaker 1.4.0.0 A4
Screenshots
Here's a screen shot if I do not apply the push:
One of the original reasons push was added was for this exact reason. The .NET font renderer I am using did not have anything too obvious to help align text of different fonts on the same "line" so they render however the given font was setup.
I'll add revisiting this to my todo list and hope there is something that can help with this. 🧐