Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2022/03/28)Fwd 1 day (to 2022/03/30) >>>20220329 
artifexirc-bot <emendelson> Is this the right place to ask a question about GhostPCL? In pcl/pl/plftable.c, every font has a series of numbers that include a string like this: {278.0, 720000.0 / 278.0}. If this is documented anywhere, I can't find it. Would anyone be willing to let me know what the 278.0 means? I think it must means the width of some specific character; the monospace fonts use 600 or 500, but the proportional-spaced fonts use diff20:54.12 
  <emendelson> Ignore previous message. I found that your PCL guy (as you called him) gave me the answer seven years ago and I forgot it: "for proportional fonts the pitch is only used for space width guidance and in a few other quirky circumstances. Characters will have different width because it is a proportional font, so the 313 centipoints only refers to the space character (hmi)." Apologies for wasting bandwidth. - Is there any 21:07.29 
  <HenryStiles> Probably me, yes I agree it should be documented.21:17.04 
  <HenryStiles> adding fonts to that table will probably result in pain, introducing font selection by family problems, it's best to create a downloaded font as per the PCL technical reference manual. Good luck @firstlooks21:23.57 
  <emendelson> @HenryStiles - Thank you for this. Years ago, I had no trouble adding a (licensed and purchased) Prestige Elite font family, using the HP-established font ID number 8 for Prestige, and I've been updating the code with each new release. My guess is that you're right about the pain of adding a proportional font family. - I use GhostPCL to create PDFs of my WordPerfect for DOS files, and a friend is interested in doing the23:40.42 
 <<<Back 1 day (to 2022/03/28)Forward 1 day (to 2022/03/30)>>> 
ghostscript.com #mupdf
Search: