Commit Graph

478 Commits

Author SHA1 Message Date
Michael R Sweet
e96f9bfa6b
Fix compiler warning and update Xcode project. 2024-12-23 15:07:32 -05:00
Michael R Sweet
10c15fc281
Bump NuGet package versions. 2024-12-22 21:33:35 -05:00
Michael R Sweet
fd8427d68a
Add pdf2text example docos, install examples to doc directory. 2024-12-22 21:29:32 -05:00
Michael R Sweet
ed1421287f
Move pdfiototext to examples. 2024-12-22 19:00:17 -05:00
Michael R Sweet
aa91b141a8
Finalize md2pdf example docos. 2024-12-22 12:09:03 -05:00
Michael R Sweet
5dc68f3285
Save work on docos. 2024-12-21 23:20:36 -05:00
Michael R Sweet
52b508bdd2
Block quote rendering changes. 2024-12-21 14:15:48 -05:00
Michael R Sweet
41ebe39f3b
Save work. 2024-12-21 14:04:27 -05:00
Michael R Sweet
62df5f5c78
Add CODE_PADDING and use it for code blocks. 2024-12-21 12:16:36 -05:00
Michael R Sweet
a1237db52c
Use regular font for whitespace before monospace text. 2024-12-21 11:50:35 -05:00
Michael R Sweet
a24fdee335
Fix an uninitialized pointer issue in format_block, and some margin issues on the top of the page. 2024-12-21 11:31:54 -05:00
Michael R Sweet
e4081f2ba3
Add table-of-contents outline. 2024-12-20 07:18:10 -05:00
Michael R Sweet
5bc7ebee2c
Add actual example programs from prior examples, start documentation updates. 2024-12-19 16:43:21 -05:00
Michael R Sweet
b872df5a1e
Fix validation of date/time values (Issue #83) 2024-12-19 15:41:43 -05:00
Michael R Sweet
53967552df
Add some documentation on the code128 example.
Clean up the code128 code a bit and use the Helvetica font for the text.

Add support for writing to a PDF file on the command-line vs. just doing
redirection.
2024-12-15 22:52:03 -05:00
Michael R Sweet
f8639fbd64
Add "need_bottom" argument to keep the following block on the same page. 2024-12-15 18:17:31 -05:00
Michael R Sweet
9020e92928
Make sure we have room for at least two lines in a paragraph or code block at the bottom of the page. 2024-12-15 17:46:03 -05:00
Michael R Sweet
48e6597337
Make block quote bar a thick orange so it stands out. 2024-12-15 17:35:16 -05:00
Michael R Sweet
d4e3bbcf16
Doco updates. 2024-12-15 11:28:09 -05:00
Michael R Sweet
2c8a996875
Add green bar next to block quote text (for notes). 2024-12-15 11:27:32 -05:00
Michael R Sweet
3d6d9e3e3e
Fix name of ZapfDingbats. 2024-12-15 11:27:18 -05:00
Michael R Sweet
62fdf48ff9
Fix links for code text, background of code blocks. 2024-12-15 11:00:30 -05:00
Michael R Sweet
294f5e07c5
Add support for internal hyperlinks. 2024-12-15 10:23:59 -05:00
Michael R Sweet
4baafde74b
Add support for remote URL links. 2024-12-14 19:56:45 -05:00
Michael R Sweet
2d175fdf70
Drop Apache badge (not needed), rearrange functions in alphabetical order, and reset top margin for list items to 0. 2024-12-14 10:18:01 -05:00
Michael R Sweet
56a0f290aa
Start work on example documentation. 2024-12-13 23:12:48 -05:00
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
Michael R Sweet
7a45adb7f5
Drop cert.py from cppcheck invocation. 2024-12-10 08:24:47 -05:00
Michael R Sweet
45ac66874c
Add readme for example programs. 2024-12-09 19:28:15 -05:00
Michael R Sweet
eb9dad9b51
Add Code 128 example code. 2024-12-09 19:13:48 -05:00
Michael R Sweet
2ecb9cfb2d
Changelog. 2024-12-08 19:19:13 -05:00
Michael R Sweet
91a467e55c
Merge pull request #81 from vlasovsoft1979/ttf_h_size_t_error
Fixed compilation error MSVC 19.16.27039.0 32 bit
2024-12-08 19:18:46 -05:00
Michael R Sweet
d705d7eb5d
Fix reading PDF files whose trailer is missing a newline (Issue #80) 2024-12-08 19:14:58 -05:00
Sergey Vlasov
55745bcea8 Fixed compilation error MSVC 19.16.27039.0 32 bit 2024-12-08 22:56:25 +03:00
Michael R Sweet
2ea99597cc
Update Windows DLL exports. 2024-10-25 17:57:17 -04:00
Michael R Sweet
a3a3512ed8
Update docos. 2024-10-25 17:50:51 -04:00
Michael R Sweet
afac83530f
Add pdfioDictGetKey and pdfioDictGetNumPairs APIs (Issue #63)
Add pdfioArrayRemove and pdfioDictClear APIs (Issue #74)
2024-10-25 17:48:19 -04:00
Michael R Sweet
21ac2b52d1
Clean up updated docos (Issue #78) 2024-10-25 17:32:38 -04:00
Michael R Sweet
21b8e3b06f
Changelog. 2024-10-25 17:17:39 -04:00
Michael R Sweet
91392a931f
Changelog. 2024-10-25 17:17:38 -04:00