Commit Graph

11 Commits

Author SHA1 Message Date
Michael R Sweet
2e5319a623
Fix widths for base fonts (was converting back to UTF-8 instead of preserving
the CP-1252 character set.
2024-12-13 19:56:00 -05:00
Michael R Sweet
d3d6683041
Add support for measuring base fonts (Issue #84)
Update md2pdf example code to support using embedded TrueType or PDF base
fonts.
2024-12-13 17:39:16 -05:00
Michael R Sweet
0d08dd5f1b
Add support for tables. 2024-12-13 15:17:25 -05:00
Michael R Sweet
00c9905317
Update rendering of checkboxes. 2024-12-12 13:07:09 -05:00
Michael R Sweet
b8b9d7ef8a
Split out code block formatting and add light gray background behind code.
Add support for hard breaks.

Add (preliminary) support for checkboxes.
2024-12-12 11:44:53 -05:00
Michael R Sweet
63cdb13b1b
Fix image name property - forgot to call pdfioStringCreate* APIs for formatted
string...
2024-12-12 07:11:25 -05:00
Michael R Sweet
72e55b5bd1
Refactor block formatter to split content into lines and render the lines.
Also cache the current font for the whole page.
2024-12-11 20:14:32 -05:00
Michael R Sweet
dc65eb8d2f
Save work on image support. 2024-12-11 15:37:03 -05:00
Michael R Sweet
a39b01ec9c
Add metadata support. 2024-12-10 18:53:51 -05:00
Michael R Sweet
4b29c9a1c2
Add text color and optimize text groups into whole blocks.
Add UNICODE_VALUE define to allow toggling between Unicode and ISO-8859-1 modes.
2024-12-10 18:41:23 -05:00
Michael R Sweet
5a4afad566
Save work on markdown formatting example code. 2024-12-10 16:35:12 -05:00