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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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
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