Skip to content

<font size="3"> draws smaller than the text around it instead of at the default size #665

Open

Description

@jakejackson1

<font size> uses mPDF's own size table, where 3 is small. In a browser, 3 is medium, the default size.

<p>ab<font size="3">MM</font></p>

With the default 11pt body text, MM is drawn at 9.46pt, in both cssModes. In a browser it is the same size as ab. Reproduced on gravitypdf at 5be2e92.

Found in #641. Related: #531.

Activity

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions