Add boldListItemNumber theme property#316
Add boldListItemNumber theme property#316bastienleonard wants to merge 1 commit intonoties:masterfrom
Conversation
It controls whether we show the number part of ordered lists in bold.
|
Hello @bastienleonard , thank you for your submission. Unfortunately achieving bold ordering numbers would require a bit more complex approach. Mainly due to the code: paint.setTypeface(Typeface.create(Typeface.DEFAULT, Typeface.BOLD));which would create a default bold typeface. There are numerous ways to set a typeface on a And then there is another problem - order number margin. Ordering numbers are drawn on canvas, and not present in actual text. So, we need to know ordering number width before-hand (before rendering) so span can correctly report margin taken and position number on canvas accordingly. If you wish, please continue with this pull request, but be aware that maybe ordered lists are going to be changed |
It controls whether we show the number part of ordered lists in bold.