Wijmo PdfDocument - drawText / character spacing

Posted by: brandon.chan on 11 April 2018, 7:17 pm EST

    • Post Options:
    • Link

    Posted 11 April 2018, 7:17 pm EST

    Hi there,

    We are looking at implementing character spacing for a Pdf Document we are creating but can only find the lineGap property.

    Is there a way to control character spacing?

    Thank you

    Brandon

  • Posted 11 April 2018, 9:58 pm EST

    Sorry I meant Character Width not character spacing.

  • Posted 12 April 2018, 10:04 am EST

    Hi,

    The character width is font’s property, not the pdf renderers. So the possible solution would be to use a font with bigger width.

    You can refer to the following example to include custom fonts:-

    http://demos.wijmo.com/5/Angular2/PdfExport/PdfExport/#/pdfdocument/customfonts

    ~nilay

  • Posted 12 April 2018, 7:33 pm EST

    Thank you

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels