Skip to content

How to dynamically create documents and elements? #523

Answered by NaLiJa
Konjointed asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there,
I think, you need to set the font family, e.g. like
h1Element->SetProperty("font-family", "LatoLatin");
When I try your code with the integrated debugger it complains about the missing font face, adding the above (with the LatoLatin font from the demo) it works here.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Konjointed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants