Skip to content
Discussion options

You must be logged in to vote

Method insert_htmlbox() works much like insert_textbox() in that it position the text across the rectangle in the best possible way.
In addition however it understand HTML syntax and reacts to tags like <b> to start bold text. It also detects whether text portions require other than the declared font(s) and automatically install the needed additional font.
You can influence this automatism by specifying HTML stylesheet instructions that can contain font information based on @font-face.
The method can output tables given in HTML syntax plus images if the text references them.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@jahnvi-sikligar-tcgls
Comment options

Comment options

You must be logged in to vote
5 replies
@jahnvi-sikligar-tcgls
Comment options

@JorjMcKie
Comment options

@JorjMcKie
Comment options

@JorjMcKie
Comment options

Answer selected by JorjMcKie
@jahnvi-sikligar-tcgls
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4823 on December 02, 2025 11:07.