Menu

#366 docprep doesn't return a usable rc, and setup can't download Liberation Fonts

5.3.0
pending
None
1
2026-08-14
2026-08-12
No

The fontsquirrel url does no longer work. One can use the copy in ..\LiberationFonts instead.

Docprep should return a usable rc, so that the caller knows if it thinks it suceeded or not.

Discussion

  • Josep Maria Blasco

    Additionally, setup.rex should install the Rexx Parser in .\rexx-parser.

     
  • Josep Maria Blasco

     
  • Josep Maria Blasco

    • status: open --> pending
     
  • Gil Barmwater

    Gil Barmwater - 2026-08-12

    Thanks for these changes. I had not forseen that the tools would be invoked from other programs so I had them issue a (hopefully) useful error message and exit when they encountered an error that prevented them from continuing.
    As for the Liberation Fonts - I'm not surprised that location on the Internet has become unavailable. Dead links have always been a problem as the Web is constantly changing. The "copy" on SF was placed there by PO when we were getting the document build process working for non-Windows platforms. We could have done the same with some of the other tools, like FOP, but there is a trade-off. Having a local copy prevents getting the "latest" version which may contain fixes. In reality, the only one of the tools that has experienced this is FOP. The setup program was intended as a convenience tool to ease the burden of locating, downloading and installing the multiple parts needed by the document build process but it turned out not to be practical to implement for non-Windows platforms.

     

    Last edit: Gil Barmwater 2026-08-12
  • Josep Maria Blasco

    You're welcome. And thanks for writing these tools: they are fantastic, specially for people like me who understand little about XML, FOP et al.

    I've not deleted the code block that downloads the fonts, just commented them out -- that way, if one day we decide to use a new address, it will be very easy to restore the code.

     

Anonymous
Anonymous

Add attachments
Cancel