You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some fonts footnote calls are displayed the same as regular text and not as superscript. The problem is that some fonts don't support font-variant-position: super, which is used in the default weasyprint CSS to style footnote calls. I have tested only a few fonts, but in general font-variant-position: super seems work well variable fonts it seems to work correctly, but not for static fonts. sup element, however, are displayed as expected for all fonts.
I think weasyprint should use the same styling rules for footnote calls as for <sup> such that they are displayed correctly for all fonts.
For some fonts footnote calls are displayed the same as regular text and not as superscript. The problem is that some fonts don't support
font-variant-position: super
, which is used in the default weasyprint CSS to style footnote calls. I have tested only a few fonts, but in generalfont-variant-position: super
seems work well variable fonts it seems to work correctly, but not for static fonts.sup
element, however, are displayed as expected for all fonts.I think weasyprint should use the same styling rules for footnote calls as for
<sup>
such that they are displayed correctly for all fonts.This is also recommended in CSS Fonts Module Level 4 (https://drafts.csswg.org/css-fonts/#font-variant-position-prop):
The text was updated successfully, but these errors were encountered: