-
Notifications
You must be signed in to change notification settings - Fork 768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some parts of the chm manual file are in a very small font #3780
Comments
Maybe @mumumu has an idea? As IIRC they know how to build the CHM version. But this might be an issue with PhD our doc renderer. |
This is probably a missing style for the CHM version (which basically just a particular HTML format). Looks like it is for anything that ends up in a Looks like @bjori is involved in the building of the CHM versions, they may have more insight. |
Looking at it more, it's actually probably one of the CSS files in the It should be possible to use GitHub Actions to build these. There's a command-line HTMLHelp compiler so then it's "just" a matter of building the proper input, running that, and making the output available somewhere. That's going to require someone with more active Windows knowledge than I have, though. |
I've downloaded php_manual_en.chm, and it looks fine in HTML Control 10.0: It looks the same if I build that file manually. I can imagine the problem is that the Source Code Pro font is not installed on the machine. I think it's best to use standard fonts for the CHMs (or to embed the fonts if allowed and possible). And frankly, I'm not sure whether CHM is future proof; I didn't even find a downloadable help compiler (but had it installed already, after looking more closely), and apparently MS considers the format obsolete. Maybe PDF is the way to go. |
Strange, I thought I saw the download for the tools just recently, but poking around more it seems like the only way to get them is the Wayback Machine or other sketchy links. If we don't want to create a way for us to build the CHM manuals, it's probably time to retire them. PhD doesn't currently work for PDF, but that's not really a close analogue to CHM, anyway. Maybe ePub would be a good alternative? The current tooling seems to work for generating it. I don't think there's a way we can do something like the CHM with user notes that we had that would be worth the effort in doing so. |
Yeah, maybe ePub is the better alternative. I'm more concerned about php/systems#58 for now. |
I'm aware of this problem myself, it's caused by css not working properly anymore. The reason chm hasn't been able to update for 2 months is because my local machine was down. Sorry, I can resume updating as soon as you're ok with the version without css running. But as @cmb69 pointed out, chm is obviously legacy; the relevant binaries needed to build chm are already unavailable for download, and I only have what I have on hand. I'll continue to fix this issue and update chm if there's demand, but if you can migrate to PDF or epub, I'd be happy to do so. |
I had a look at this again, and apparently, there is almost no CSS involved (except for style.css). Instead, the problem seems to be related to the Or we try to bring back proper stylesheets, which are supported by the HTML help compiler. There is of course no guarantee that these styles would be properly supported by all readers (although ePub likely has the same issue). |
Some parts of the chm version of the manual are in a very small font, they are underlined in red in the picture below (that's at "PHP Manual -> Function reference -> Image Processing and Generation -> ImageMagick -> Installing/Configuring -> Installation"):

OS: Windows 10 Home.
The text was updated successfully, but these errors were encountered: