Skip to content

QCH fonts are too large #79

Open
Open

Description

@10110111

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

Activity

  1. p12tic commented on Jun 7, 2019

    @p12tic
    Owner

    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.

  2. ilyapopov commented on Dec 12, 2019

    @ilyapopov

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions