Menu

How to use windows fonts?

2002-02-28
2013-04-24
  • Adjamir de Moura Galvăo

      I have some documents using fonts like Garamond wich is not converted when I convert the file to html.
      How can I deal with it?

     
    • Anonymous

      Anonymous - 2002-07-17

      In the file src/HtmlFonts.cc is a hash of sorts enumerating the 14 primary PDF fonts.  Adding an entry to that hash should do what you need.  Mor than likely you will have to add one entry for each Garmond varient (i.e bold, italic, black).  It will be pretty clear I think.

      Cheers!
      Chris

       
    • soorajchirag

      soorajchirag - 2005-03-28

      I did the same but my problem was not solved. The font name though was being returned correctly but the dimensions given by XML became unreliable....

      Is it something that i am doing Wrong.... Coz if i remove the new entries the output returns to normal

      What if I add an Entry to HTMLFONTS but there is no Info about the Fonts widths and Height (in other words the program is not aware of the Font Metrics) the output is bound to be faulty.... or is there a way around???/

      Regards,
      Sundeep

       

Log in to post a comment.