My guess is you're probably thinking about the Retro68 project for GCC: https://github.com/autc04/Retro68
The MuPDF library would be a potential candidate for porting to classic Mac OS, it is written in "portable C" (no external dependencies and modular components.) https://mupdf.com/
Ack, if...