Ticket #447 (Fixed)Tue Feb 20 11:37:37 UTC 2018
MakePSFont module - can create garbage
Reported by: | Ewen Pring (3163) | Severity: | Major |
Part: | RISC OS: Module | Release: | |
Milestone: | Status | Fixed |
Details by Ewen Pring (3163):
Printing to file using standard Postscript level 2 driver (in this case from Easiwriter), text written in some fonts in the output is shown as a random scrawl or pattern. But only when using MakePSFont module 1.16; they come out OK if I revert to MakePSFont module 1.15.
Using !Printers 1.87, RISC OS 5.23.
Have not tried what happens with Martin W’s Postscript level 3 driver.
ROM Fonts Trinity and Homerton are OK. Disc based fonts Franklin and DejaVuSans give the problem (and probably all other disc fonts, not tried any others).
I can email a zip file with simple test cases to demonstrate if required.
Changelog:
Modified by Sprow (202) Sat, March 17 2018 - 16:53:44 GMT
- Attachment added: MakePSFont,ffa
Does the attached module behave any better?
Modified by Sprow (202) Tue, May 22 2018 - 19:47:08 GMT
In a series of private exchanges with Ewen, turns out the changes from 1.15->1.16 weren’t relevant, it just happened to coincide with a change to the C compiler. We’ve homed in on the single function encode() & I’ve sent it to ROOL for them to look into.
There’s a workaround, but I’d rather not pollute the code if it’s a quick fix for the tools.
Modified by Sprow (202) Sun, June 03 2018 - 15:30:27 GMT
- Attachment added: MakePSFont,ffa
In the meantime, here’s MakePSFont 1.18 with cheesy workaround.
Modified by Sprow (202) Thu, August 02 2018 - 07:47:13 GMT
- Status changed from Open to Fixed
Modules downloaded from this site after 01-Aug-2018 have the corrected MakePSFont (built with updated tools). MakePSFont itself is unchanged at 1.18 (1.16->1.18 were some unrelated clean-ups spotted during investigation).