Skip to content
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

QCH fonts are too large #79

Open
10110111 opened this issue May 8, 2019 · 2 comments
Open

QCH fonts are too large #79

10110111 opened this issue May 8, 2019 · 2 comments

Comments

@10110111
Copy link

10110111 commented May 8, 2019

When compared to the Qt documentation, cppreference appears to have really large fonts. And the problem is exacerbated with current Qt5 versions which lack QtWebKit, so one can't even scale down the main text: only the caption scales.

The fonts appear correct in the official QCH book release 20170409, and are already too large in the 20181028 release. And this problem remains with the releases made from this repo.

See the following screenshots for comparison between Qt docs and C++ docs.

QString docs @ Qt5 Assistant:
QString @ Qt5 Assistant

std::string docs @ Qt5 Assistant:
std::string docs @ Qt5 Assistant

Even if I open in Qt4 Assistant built with QtWebKit support, the fonts are too large, although the content is easier to scale (and formatting is less broken, but this is another issue, #47).

std::string docs @ Qt4 Assistant:
std::string docs @ Qt4 Assistant

@p12tic
Copy link
Owner

p12tic commented Jun 7, 2019

The problem is that Qt5 Assistant does not support full HTML, only part of it. We currently convert HTML and CSS features that are not supported by Qt to some equivalents that are supported, but this is error prone and could be improved.

@ilyapopov
Copy link

ilyapopov commented Dec 12, 2019

Just released QtCreator 4.11 introduced optional litehtml-based help rendering backend that works somewhat better:

2019-12-13_00-17

It's still not ideal, but still better than before.

You can change the backend in Tools -> Options -> Help -> General -> Behavoiur

Edit I was to quick to judge, the new backend has problems too:

2019-12-13_00-26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants