File: Changes

package info (click to toggle)
libtext-layout-perl 0.045-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 548 kB
  • sloc: perl: 4,117; makefile: 2
file content (237 lines) | stat: -rw-r--r-- 5,873 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
Revision history for Text::Layout

0.045	2025-07-10

	Experimental support for ttc (TrueType collections).

0.044	2025-04-27

	Fix https://github.com/ChordPro/chordpro/issues/358.

0.043	2025-04-22

0.042	2025-04-16

0.041	2025-04-15

	Add named destinations (experimental).

0.040	2025-04-11

	Add named destinations (experimental).

0.039	2025-03-23

	Add user-defined shortcodes.

0.038	2024-08-17

	Add independent horizontal and vertical scaling for images.
	Fix bold/italic parsing.
	Clone fontconfig when registering aliases.
	Add design_scale for images.

0.037	2024-06-30

	Add facilities to remap the PDF corefonts to decent font files.

0.036	2024-04-22

	Introducing struts.
	Update SYNOPOSIS example to modern PDF::API2 conventions.
	Fix/enhance drawing of brackgrounds.
	Fix problem with wrongly calculated underlining.

0.035	2024-02-19

	Fix VERSION problems for defective toolchains.

0.034	2024-02-18

	Packaging changes.

0.033	2024-02-18

	Packaging changes.

0.032	2023-11-01

	Pluggable elements extend parsing and rendering of elements.
	A pluggable element is used to implement the <img> element, to
	include images inline in text strings.
	See tests/im1.pl and tests/im3.pl for examples.
	Rise may now also take an 'em' or 'ex' value. 1em = 100%, 1ex = 50%.

0.031	2023-05-29

	Improve bounding box and line spacing determination by using the
	font ascender and descender values only.
	Allow ascender and decender to be overruled in the font config.
	Adapt some of the example programs to run on Microsoft Windows.

0.030	2022-09-03

	Enable xx-small, medium, large, x-large and xx-large.
	Enable byte-access to built-in Symbol and ZapfDingbats fonts.

0.029	2022-03-17

	Fix issue #11 (PDF::Builder only).
	Fix font changes for Markdown.
	Fix <span rise> in convenience mode.
	Handle <span background>.

0.028	2022-02-04

	INCOMPATIBLE: In Pango mode, the direction of rise and lower
	has been reversed and is no longer proportional to the font size.
	In convenience mode you can use percentages and points..

	INCOMPATIBLE: Extent boxes are now relative to top-left. This
	is Pango compatible and makes the box fit when drawn at the
	same coordinates the layout was rendered.
	
	(Internal) Add extents method for CID fonts.
	More Pango compatibility.
	Add font properties direction and language.
	Add 'pt' postfix for point sizes in markup.

0.027	2021-12-23

	Pango compatibility (POSSIBLY INCOMPATIBLE):
	get_{pixel_}extents now returns the layout extents in scalar
	context. In this case, ink extents are not calculated.
	Improve performance (15%) by cacheing bbox.

0.026	2021-12-22

	Add tests for markup parsing.
	Update example in README.
	Add 'nosubset' property for fonts.
	POSSIBLY INCOMPATIBLE: Fix issue #10. The difference will only
	be noticable when you query the width for centered/right
	aligned texts.
	UNLIKELY INCOMPATIBLE: method set_pango_scale does now enable/disable.
	The scaling is fixed to PANGO_SCALE (1024).
	Fixed some issues with pango scaling.
	Fix regression that sometimes tripled the resultant PDF.

0.025	2021-10-22

	Add font config properties underline_thickness,
	strikeline_position, strikeline_thickness, overline_position,
	overline_thickness, and strikeline_position. Overriding the
	font specified/calculated values may improve results for some
	fonts. Note that strikeline_thickness and overline_thickness
	will default to underline_thickness if set.

	Withdraw a and link aliases for href. They may serve a
	different purpose in the future.

0.024	2021-10-21

	Retain case sensitivity for links.

	Remove debugging info.

0.023	2021-10-21

	Add support for underline, overline and strike, and their
	colours.

	Add support for hyperlinks (span attributes a, href and link).
	Note that this is not part of the official Pango Markup
	specification.
	
0.022	2021-10-04

	Fix some reentrancy problems.
	Update for PDF::API 2.042.

0.021	2021-07-09

	Fix font cacheing problem with PDFAPI2.
	Update links for pango documentation.

0.020	2021-05-18

	Use common font cache for PDFAPI.
	Handle some more weight variants.
	Added testing PDF::Builder unless it is of an incompatible
	version. As of 3.019 PDF::Builder changed the font metrics to
	compatible values.

0.019	2020-08-16

	Add support for C<< <span font_desc="..."> >>. See
	tests/pdfapi3.pl for an example how to use this to embed RTL
	texts. Note, however, that this currently relies on the native
	harfbuzz library to correctly determine ('guess') the
	characteristics of the text.

	Eliminated backend loading in favour of derived classes.

	Enable font caching for PDF::API2.

0.018.3	2020-05-19

	Dropped testing with PDF::Builder. Text::Layout will continue
	to work with PDF::Builder to the extent that it is compatible
	with PDF::API2.

0.018.2	2020-05-09

	Avoid testing PDF::Builder if it is of an incompatible
	version. As of 3.018 PDF::Builder changed the font metrics to
	incompatible values.

0.018.1	2020-02-27

0.018	2020-02-06

	Add support for HB Shaper features. Requires HarfBuzz::Shaper
	0.019 or later.

0.017	2020-02-03

	Add helper routines for PDF::Builder.
	Add test file for PDF::Builder.

0.016	2020-01-30

	Improve documentation for FontConfig and FontDescriptor.
	Add  FontConfig and FontDescriptor to provides.
	
0.015	2020-01-29

	Add font attributes in registration.

0.014.1	2020-01-26

0.014	2020-01-23

	Experimental support for text shaping using HarfBuzz.
	Implemented for the PDF::API2/Builder backend only.
	Requires perl module HarfBuzz::Shaper.

0.013	2019-10-22

	Fix test 102.
	Some more version issues.

0.012	2019-10-21

	Fix some packaging problems.
	Fix version number in release.

0.011	2019-09-01

	Fix return values of get*extent and get*size.
	Split off FontDescriptor from FontConfig.
	Added tests for PDF::API2 backend.
	Added lots of documentation.

0.01    2019-08-30

	Initial check-in.