Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Julio M. Vivas 57 posts 107 karma points
    Nov 11, 2014 @ 16:27
    Julio M. Vivas
    0

    Using Open Type Fonts

    Hi Darren

    I have installed the package and it works very well. However, for a particular project we only have available the .otf version of the font (as it needs to be a desktop font to be installed on the server).

    On the Ibex manual it says "Ibex reads the registry to see which fonts are available. Specifically the entries under "HKLM\software\microsoft\windows nt\currentversion\fonts" list available fonts," but the TrueType font I get listed on the registry (Dax-Regular) uses a .otf file and it doesn't work.

    On page 30 of the Ibex manual it advises to check the fonts installed using the command line utility. I have done this and Ibex lists the OTF font but it just doesn't work:

    dax-regular
    file(s)       c:\windows\fonts\Dax-Regular.otf
    usage         10pt dax-regular 
    example       10pt dax-regular
    

    All .ttf fonts work OK.

    I have tested the same font with a PDF generated using iTextSharp and it works but somehow Ibex is not happy with it.

    Any advice welcome, as we would really like to implement the solution using PDF Creator instead of iTextSharp

    Thanks

    Julio

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Nov 12, 2014 @ 15:24
    Darren Ferguson
    0

    Hi Julio,

    How do you refer to the font in your XSL-FO?

    I can't really offer a great deal of further advice but can possibly raise a support case with Ibex on your behalf if you would like?

    Is it an option to purchase a true type version of the font? And which font is it that you are trying to use?

    Thanks.

  • Julio M. Vivas 57 posts 107 karma points
    Nov 12, 2014 @ 16:03
    Julio M. Vivas
    0

    Hi Darren

    Thanks for responding, the font is Dax Regular

    I've been using

    <fo:inline font-family="Dax Regular" font-size="24pt" color="#3c3c3c">
    <fo:inline font-family="Dax-Regular" font-size="24pt" color="#3c3c3c">
    <fo:inline font-family="dax-regular" font-size="24pt" color="#3c3c3c">
    

    but no joy. I have Dax Medium as TTF and it works fine

    It was bought in OTF format and we were trying to avoid the extra cost but I guess it'll be cheaper than recoding with iTextSharp - the original vendor doesn't offer it but there might be someone who does.

    However, it would be good to find out there is a way of getting OTF to work.

    In general we're happy with PDF Creator and hopefully we'll get the fonts working one way or another.

    Cheers

    Julio

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Nov 14, 2014 @ 09:59
    Darren Ferguson
    0

    Hi Julio,

    I don't have Dax on my machine to try out - I am afraid otherwise I would try this on your behalf. If you can share the font with me I will give it a go!

     

  • Julio M. Vivas 57 posts 107 karma points
    Nov 14, 2014 @ 11:03
    Julio M. Vivas
    0

    Hi Darren

    Just sent a link to download the font by email

    Thanks for looking into this

    Cheers Julio

  • Chris Houston 533 posts 978 karma points MVP admin c-trib
    Nov 12, 2015 @ 17:07
    Chris Houston
    0

    Hi Darren / Julio,

    Did you manage to solve this issue as we have the same issue. We have installed IBEX and run the -fonts command which list our fonts, but when we try and use them it just shows a stand font. ( all system fonts work fine )

    Cheers,

    Chris

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Nov 12, 2015 @ 19:49
    Darren Ferguson
    0

    Hi Chris,

    Sorry I missed you when you called in today.

    As our support team mentioned - PDF creator support is a bit niche, so we support it through the forum here.

    Would you be able to paste the output of the -fonts command as well as your usage of the font in the FO file which may help. Also feel free to mail this to me directly.

    Darren.

  • Chris Houston 533 posts 978 karma points MVP admin c-trib
    Nov 16, 2015 @ 09:49
    Chris Houston
    0

    Hi Darren,

    It turns out the solution is to convert the fonts to True Type fonts, then everything works as expected.

    If anyone else has this issue in the future, I would suggest they try one of the online OTF to True Type font converters as this did the trick for us.

    Cheers,

    Chris

  • Doogie Talons 183 posts 318 karma points
    Jun 09, 2016 @ 14:59
    Doogie Talons
    100

    How do you use the command line utility. I have a font installed on the server which is a TTF and fully Installable permissions but it refuses to show in the document using font-family="FontName"

    Fixed my own problem if anyone is interested.

    Despite many names of the font I went into Windows, right clicked on the font. Clicked DETAILS tab and used the full title of the font.

    font-family="Stag Sans Web Light Regular"

    Despite the name in the PROPERTIES tab being "StagSansWeb-Light"

    Doogie

Please Sign in or register to post replies

Write your reply to:

Draft