Font preflet using Layout engine
|Reported by:||stpere||Owned by:||stippi|
|Has a Patch:||no||Platform:||All|
I experienced some bug/bad behaviour using the font preflet and decided to fix it.
Here are the changes that I made :
- It's now using the layout engine (there was some clipping when using big fonts that prevented going back to a smaller font)
- The "Defaults" button wouldn't be activated here by changing the menu font. I fixed that. The function to get the default for menu font was wrong, it did return a BAD_VALUE (that font isn't like the others).
- The Revert wouldn't work in all cases. The fSavedFont (it's used to know what to revert to) was saved too soon. We were saving the saved font at the view creation, but it was changed right after that and used the changed one for display (but still had the old one saved).. I did move the saving right after the modification and it works now.
Change History (7)
Note: See TracTickets for help on using tickets.