| 1 |
Revision history for Text::Layout |
| 2 |
|
| 3 |
0.045 2025-07-10 |
| 4 |
|
| 5 |
Experimental support for ttc (TrueType collections). |
| 6 |
|
| 7 |
0.044 2025-04-27 |
| 8 |
|
| 9 |
Fix https://github.com/ChordPro/chordpro/issues/358. |
| 10 |
|
| 11 |
0.043 2025-04-22 |
| 12 |
|
| 13 |
0.042 2025-04-16 |
| 14 |
|
| 15 |
0.041 2025-04-15 |
| 16 |
|
| 17 |
Add named destinations (experimental). |
| 18 |
|
| 19 |
0.040 2025-04-11 |
| 20 |
|
| 21 |
Add named destinations (experimental). |
| 22 |
|
| 23 |
0.039 2025-03-23 |
| 24 |
|
| 25 |
Add user-defined shortcodes. |
| 26 |
|
| 27 |
0.038 2024-08-17 |
| 28 |
|
| 29 |
Add independent horizontal and vertical scaling for images. |
| 30 |
Fix bold/italic parsing. |
| 31 |
Clone fontconfig when registering aliases. |
| 32 |
Add design_scale for images. |
| 33 |
|
| 34 |
0.037 2024-06-30 |
| 35 |
|
| 36 |
Add facilities to remap the PDF corefonts to decent font files. |
| 37 |
|
| 38 |
0.036 2024-04-22 |
| 39 |
|
| 40 |
Introducing struts. |
| 41 |
Update SYNOPOSIS example to modern PDF::API2 conventions. |
| 42 |
Fix/enhance drawing of brackgrounds. |
| 43 |
Fix problem with wrongly calculated underlining. |
| 44 |
|
| 45 |
0.035 2024-02-19 |
| 46 |
|
| 47 |
Fix VERSION problems for defective toolchains. |
| 48 |
|
| 49 |
0.034 2024-02-18 |
| 50 |
|
| 51 |
Packaging changes. |
| 52 |
|
| 53 |
0.033 2024-02-18 |
| 54 |
|
| 55 |
Packaging changes. |
| 56 |
|
| 57 |
0.032 2023-11-01 |
| 58 |
|
| 59 |
Pluggable elements extend parsing and rendering of elements. |
| 60 |
A pluggable element is used to implement the <img> element, to |
| 61 |
include images inline in text strings. |
| 62 |
See tests/im1.pl and tests/im3.pl for examples. |
| 63 |
Rise may now also take an 'em' or 'ex' value. 1em = 100%, 1ex = 50%. |
| 64 |
|
| 65 |
0.031 2023-05-29 |
| 66 |
|
| 67 |
Improve bounding box and line spacing determination by using the |
| 68 |
font ascender and descender values only. |
| 69 |
Allow ascender and decender to be overruled in the font config. |
| 70 |
Adapt some of the example programs to run on Microsoft Windows. |
| 71 |
|
| 72 |
0.030 2022-09-03 |
| 73 |
|
| 74 |
Enable xx-small, medium, large, x-large and xx-large. |
| 75 |
Enable byte-access to built-in Symbol and ZapfDingbats fonts. |
| 76 |
|
| 77 |
0.029 2022-03-17 |
| 78 |
|
| 79 |
Fix issue #11 (PDF::Builder only). |
| 80 |
Fix font changes for Markdown. |
| 81 |
Fix <span rise> in convenience mode. |
| 82 |
Handle <span background>. |
| 83 |
|
| 84 |
0.028 2022-02-04 |
| 85 |
|
| 86 |
INCOMPATIBLE: In Pango mode, the direction of rise and lower |
| 87 |
has been reversed and is no longer proportional to the font size. |
| 88 |
In convenience mode you can use percentages and points.. |
| 89 |
|
| 90 |
INCOMPATIBLE: Extent boxes are now relative to top-left. This |
| 91 |
is Pango compatible and makes the box fit when drawn at the |
| 92 |
same coordinates the layout was rendered. |
| 93 |
|
| 94 |
(Internal) Add extents method for CID fonts. |
| 95 |
More Pango compatibility. |
| 96 |
Add font properties direction and language. |
| 97 |
Add 'pt' postfix for point sizes in markup. |
| 98 |
|
| 99 |
0.027 2021-12-23 |
| 100 |
|
| 101 |
Pango compatibility (POSSIBLY INCOMPATIBLE): |
| 102 |
get_{pixel_}extents now returns the layout extents in scalar |
| 103 |
context. In this case, ink extents are not calculated. |
| 104 |
Improve performance (15%) by cacheing bbox. |
| 105 |
|
| 106 |
0.026 2021-12-22 |
| 107 |
|
| 108 |
Add tests for markup parsing. |
| 109 |
Update example in README. |
| 110 |
Add 'nosubset' property for fonts. |
| 111 |
POSSIBLY INCOMPATIBLE: Fix issue #10. The difference will only |
| 112 |
be noticable when you query the width for centered/right |
| 113 |
aligned texts. |
| 114 |
UNLIKELY INCOMPATIBLE: method set_pango_scale does now enable/disable. |
| 115 |
The scaling is fixed to PANGO_SCALE (1024). |
| 116 |
Fixed some issues with pango scaling. |
| 117 |
Fix regression that sometimes tripled the resultant PDF. |
| 118 |
|
| 119 |
0.025 2021-10-22 |
| 120 |
|
| 121 |
Add font config properties underline_thickness, |
| 122 |
strikeline_position, strikeline_thickness, overline_position, |
| 123 |
overline_thickness, and strikeline_position. Overriding the |
| 124 |
font specified/calculated values may improve results for some |
| 125 |
fonts. Note that strikeline_thickness and overline_thickness |
| 126 |
will default to underline_thickness if set. |
| 127 |
|
| 128 |
Withdraw a and link aliases for href. They may serve a |
| 129 |
different purpose in the future. |
| 130 |
|
| 131 |
0.024 2021-10-21 |
| 132 |
|
| 133 |
Retain case sensitivity for links. |
| 134 |
|
| 135 |
Remove debugging info. |
| 136 |
|
| 137 |
0.023 2021-10-21 |
| 138 |
|
| 139 |
Add support for underline, overline and strike, and their |
| 140 |
colours. |
| 141 |
|
| 142 |
Add support for hyperlinks (span attributes a, href and link). |
| 143 |
Note that this is not part of the official Pango Markup |
| 144 |
specification. |
| 145 |
|
| 146 |
0.022 2021-10-04 |
| 147 |
|
| 148 |
Fix some reentrancy problems. |
| 149 |
Update for PDF::API 2.042. |
| 150 |
|
| 151 |
0.021 2021-07-09 |
| 152 |
|
| 153 |
Fix font cacheing problem with PDFAPI2. |
| 154 |
Update links for pango documentation. |
| 155 |
|
| 156 |
0.020 2021-05-18 |
| 157 |
|
| 158 |
Use common font cache for PDFAPI. |
| 159 |
Handle some more weight variants. |
| 160 |
Added testing PDF::Builder unless it is of an incompatible |
| 161 |
version. As of 3.019 PDF::Builder changed the font metrics to |
| 162 |
compatible values. |
| 163 |
|
| 164 |
0.019 2020-08-16 |
| 165 |
|
| 166 |
Add support for C<< <span font_desc="..."> >>. See |
| 167 |
tests/pdfapi3.pl for an example how to use this to embed RTL |
| 168 |
texts. Note, however, that this currently relies on the native |
| 169 |
harfbuzz library to correctly determine ('guess') the |
| 170 |
characteristics of the text. |
| 171 |
|
| 172 |
Eliminated backend loading in favour of derived classes. |
| 173 |
|
| 174 |
Enable font caching for PDF::API2. |
| 175 |
|
| 176 |
0.018.3 2020-05-19 |
| 177 |
|
| 178 |
Dropped testing with PDF::Builder. Text::Layout will continue |
| 179 |
to work with PDF::Builder to the extent that it is compatible |
| 180 |
with PDF::API2. |
| 181 |
|
| 182 |
0.018.2 2020-05-09 |
| 183 |
|
| 184 |
Avoid testing PDF::Builder if it is of an incompatible |
| 185 |
version. As of 3.018 PDF::Builder changed the font metrics to |
| 186 |
incompatible values. |
| 187 |
|
| 188 |
0.018.1 2020-02-27 |
| 189 |
|
| 190 |
0.018 2020-02-06 |
| 191 |
|
| 192 |
Add support for HB Shaper features. Requires HarfBuzz::Shaper |
| 193 |
0.019 or later. |
| 194 |
|
| 195 |
0.017 2020-02-03 |
| 196 |
|
| 197 |
Add helper routines for PDF::Builder. |
| 198 |
Add test file for PDF::Builder. |
| 199 |
|
| 200 |
0.016 2020-01-30 |
| 201 |
|
| 202 |
Improve documentation for FontConfig and FontDescriptor. |
| 203 |
Add FontConfig and FontDescriptor to provides. |
| 204 |
|
| 205 |
0.015 2020-01-29 |
| 206 |
|
| 207 |
Add font attributes in registration. |
| 208 |
|
| 209 |
0.014.1 2020-01-26 |
| 210 |
|
| 211 |
0.014 2020-01-23 |
| 212 |
|
| 213 |
Experimental support for text shaping using HarfBuzz. |
| 214 |
Implemented for the PDF::API2/Builder backend only. |
| 215 |
Requires perl module HarfBuzz::Shaper. |
| 216 |
|
| 217 |
0.013 2019-10-22 |
| 218 |
|
| 219 |
Fix test 102. |
| 220 |
Some more version issues. |
| 221 |
|
| 222 |
0.012 2019-10-21 |
| 223 |
|
| 224 |
Fix some packaging problems. |
| 225 |
Fix version number in release. |
| 226 |
|
| 227 |
0.011 2019-09-01 |
| 228 |
|
| 229 |
Fix return values of get*extent and get*size. |
| 230 |
Split off FontDescriptor from FontConfig. |
| 231 |
Added tests for PDF::API2 backend. |
| 232 |
Added lots of documentation. |
| 233 |
|
| 234 |
0.01 2019-08-30 |
| 235 |
|
| 236 |
Initial check-in. |
| 237 |
|