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

page.header & footer get bold unexpectedly for empty page with heading #4749

Closed
1 task done
LingkKang opened this issue Aug 14, 2024 · 1 comment
Closed
1 task done
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@LingkKang
Copy link
Contributor

Description

The rendered pdf of following code will have the header in bold:

#set page(header: [this is header])
= This is heading

image

This also happens to different level of heading and page.footer().


However, if we add some plain text, header / footer will displayed normally.

#set page(header: [this is header])
#lorem(10)
= This is heading
#set page(header: [this is header])
= This is heading
#lorem(10)

image


typst version: typst 0.11.1 (50115102)

Reproduction URL

No response

Operating system

Windows

Typst version

  • I am using the latest version of Typst
@LingkKang LingkKang added the bug Something isn't working label Aug 14, 2024
@PgBiel
Copy link
Contributor

PgBiel commented Aug 14, 2024

Duplicate of #241

@PgBiel PgBiel marked this as a duplicate of #241 Aug 14, 2024
@PgBiel PgBiel closed this as not planned Won't fix, can't repro, duplicate, stale Aug 14, 2024
@PgBiel PgBiel added the duplicate This issue or pull request already exists label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants