• Resolved yepecece

    (@yepecece)


    Hello,

    I am using a custom font for my PDFs and it works well.
    The only think that I am not managing is to use tabular lining from the font.

    I tried using this css:
    font-variant-numeric: tabular-nums;

    as well as this:

    font-feature-settings: 'tnum';
    -webkit-font-feature-settings: 'tnum';
    -moz-font-feature-settings: 'tnum';

    But it is not working.

    I am using a TTF font with opentype features.

    Do you know if this is supported by your plugin?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    I am using a TTF font with opentype features.

    I think this is the culprit. DomPDF (the PDF library used by this plugin) currently does not support OTF, amd tabular lining appears to be an OTF feature indeed. I’m sorry I can’t help you with this!

    Thread Starter yepecece

    (@yepecece)

    Hi,

    Thanks for the info.
    For right now I modified the ttf in order to replace the oldstyle figures.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom font with tabular lining’ is closed to new replies.