Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2022/01/22)Fwd 1 day (to 2022/01/24) >>>20220123 
artifexirc-bot <ShakespeareFan00> Hi18:28.30 
  <ShakespeareFan00> This is going to sound like an unusual question but is there an EscP2-> Ghostscript layer to provide an emulation of the now very old Epson command set use on ancient dot matrix printers?18:30.14 
  <ShakespeareFan00> I was also wondering if anyone here had worked with Hershey font's in Ghostscript?18:30.48 
  <Robin_Watts> ShakespeareFan00: So you want to be able to READ EscP2 code and feed it into Ghostscript?19:16.57 
  <Robin_Watts> Currently there is no such thing.19:17.04 
  <Robin_Watts> There could be though. The easiest way would be to look at gpdl.19:17.30 
  <Robin_Watts> Basically gpdl holds a set of interpreters, and swaps between them as needed. We have gs in there to handle PS, gpdf in there to handle PDF, gpcl6 in there to handle PCL/PXL, plus others to handle PNG, JPG, TIFF etc.19:18.49 
  <Robin_Watts> You could write another one that emulated EscP2, and turned that into Ghostscript graphics library calls, and then you'd have access to all ghostscripts output devices.19:19.49 
  <Robin_Watts> As for the Hershey's fonts, do you mean the fonts released originally in 1976 or so?19:22.59 
  <Robin_Watts> A quick google suggests there are modern versions available here: http://hershey-noailles.luuse.io/www/19:23.14 
  <Robin_Watts> Click on the font on the left, then on the far right, there is a download thing. Ghostscript should, I think, be able to cope with the .ttf version at least. Our font expert is back on Monday.19:24.20 
  <ShakespeareFan00> Oh Okay19:30.16 
  <ShakespeareFan00> With the Hershey fonts it was more about the shf input format19:30.30 
  <ShakespeareFan00> And how Ghostscript could be extended to cope with 'stroke' fonts that had encodings beyond the original hershey set.19:31.50 
  <ShakespeareFan00> My thought was that the current format for numbering could be extended to allow the use of the first byte of the glyph encoding to be a # and then the next 4 characters are the hexdecimal number for the unicode position19:33.06 
  <ShakespeareFan00> Which would allow 'stroke' fonts to exist for charcter sets not covered in the original Hershey set.19:34.05 
  <ShakespeareFan00> It came out of a comment someone made years ago about needing 'charcters' in a stroke font to do Cut Here lines on Printed patterns as stroke text (for a plotter) but to have a scissors symbol as part of the 'text' rather than an embedded graphic19:36.11 
  <ShakespeareFan00> However , a 16bit hexadecimal value would only cover the Basic Unicode (UCS) set... Hmm19:43.15 
  <ShakespeareFan00> (The relevant Unicode symbol is - https://www.fileformat.info/info/unicode/char/2702/index.htm. It doesn't have a Hershey equivalent currently)19:46.30 
  <ShakespeareFan00> That sounds useful - Is there more information on this?20:25.05 
  <ShakespeareFan00> (Theoretically a really competent programmer (as opposed to a user like me) could even perhaps develop a Ghostwriter for TeX or Trelby.)20:26.28 
  <ShakespeareFan00> (Theoretically a really competent programmer (as opposed to a user like me) could even perhaps develop a Ghostwriter for DXF, TeX or Trelby.)20:26.50 
  <Robin_Watts> anything is possible.23:53.39 
 <<<Back 1 day (to 2022/01/22)Forward 1 day (to 2022/01/24)>>> 
ghostscript.com #mupdf
Search: