Debian Codegraph @

ChangeLog.release

raw
1 ------------------------------------------------------------------------
2 r220 | airwin | 2019-01-30 23:10:35 -0800 (Wed, 30 Jan 2019) | 10 lines
3 Changed paths:
4 M /trunk/README.Release_Manager_Cookbook
5
6 Update to the lastest version of the instructions for the release manager
7
8 This file should reflect the actual commands and actual results of
9 those commands for this release. And it is up to date in that regard
10 for what has gone on so far in this release. However, in case there
11 are a few further tweaks necessary in the description of the commands
12 in the rest of the release process, then this file should be updated
13 again to reflect those changes just after the release.
14
15
16 ------------------------------------------------------------------------
17 r219 | airwin | 2019-01-30 12:38:40 -0800 (Wed, 30 Jan 2019) | 8 lines
18 Changed paths:
19 M /trunk/README.cumulated_release
20 M /trunk/README.release
21
22 Finalize release notes for the forthcoming release of libLASi-1.1.3
23
24 As part of this change, I have prepended README.release into
25 README.cumulated_release so if there are any added tweaks after this
26 before the libLASi-1.1.3 release both README.release and
27 README.cumulated_release should be tweaked in the same way.
28
29
30 ------------------------------------------------------------------------
31 r218 | airwin | 2019-01-29 22:26:05 -0800 (Tue, 29 Jan 2019) | 10 lines
32 Changed paths:
33 D /trunk/CONCATENATED_README.release
34 A /trunk/README.cumulated_release (from /trunk/CONCATENATED_README.release:217)
35
36 Rename CONCATENATED_README.release => README.cumulated_release
37
38 This new name for this cumulation of release notes follows how
39 this file is named in PLplot.
40
41 Note, before making this name change I double-checked that
42 this file contained all recent release notes up to and
43 including the last (1.1.2) release.
44
45
46 ------------------------------------------------------------------------
47 r217 | airwin | 2019-01-29 19:30:55 -0800 (Tue, 29 Jan 2019) | 18 lines
48 Changed paths:
49 M /trunk/README
50 M /trunk/cmake/modules/lasi_version.cmake
51
52 Bump package version from 1.1.2 to 1.1.3 and library SOVERSION from 1 to 2 in anticipation of the 1.1.3 release
53
54 The bump in just the patch number of the package version reflects that
55 only maintenance and no new development has occurred for this release.
56 However, that maintenance did involve necessary but relatively minor
57 backwards-incompatible changes to the libLASi API (a change in the
58 PostscriptDocument::GlyphId::GlyphId protected method API that is
59 designed for internal use only and the addition of the
60 PostscriptDocument::PangoItem_do protected method that is also
61 designed for internal use only).
62
63 As a result of these backwards incompatibilities, the library
64 SOVERSION had to be bumped from 1 to 2 to force users of this library
65 (e.g., the PLplot psttf device driver) to do the required
66 recompilations for this case. However, there is no need for users to
67 actually change their source code to adjust to these backwards
68 incompatibilities.
69
70 ------------------------------------------------------------------------
71 r216 | airwin | 2019-01-29 18:38:11 -0800 (Tue, 29 Jan 2019) | 36 lines
72 Changed paths:
73 M /trunk/examples/CMakeLists.txt
74 A /trunk/examples/ComplexTextLayoutExample.png
75 D /trunk/examples/Example_1_Result.png
76 D /trunk/examples/Example_2_Result.png
77 M /trunk/examples/Makefile.examples.in
78 A /trunk/examples/MissingGlyphExample.png
79 A /trunk/examples/SimpleLASiExample.png
80
81 Reorganize how examples are built and run and replace old PNG snapshots with new ones
82
83 All references to a numerical "example[0-2]" core name style for
84 example applications and results have now been replaced by the more
85 descriptive core names MissingGlyphExample, SimpleLASiExample, and
86 ComplexTextLayoutExample. This core name change also makes the names
87 of example applications and results consistent with the name of the
88 source code used for each of the examples.
89
90 These examples now do the appropriate bounding-box calculations so the
91 results for all three of these examples are now in valid EPS
92 (Encapsulated PostScript) format. Accordingly the suffix of the
93 results of these applications has been changed from ".ps" to ".eps".
94 (This change in suffix is necessary before inkscape will honor the
95 bounding boxes.)
96
97 The new PNG snapshots generated by inkscape (now automatically
98 calculated in the build tree as a result of building the "all" target)
99 are much higher quality than the previous decade-old snapshots because
100 (i) pango is much more advanced than it was a decade ago, (ii) Linux
101 fonts are much better than they were a decade ago, and (iii) inkscape
102 does a better job of converting to PNG format than whatever (likely
103 commercial) application was used for such conversion a decade ago.
104 Accordingly I have removed the old PNG results from the examples
105 subdirectory of the source tree and replaced them with the current
106 build-tree results (on the Debian Testing platform) for
107 MissingGlyphExample.png, SimpleLASiExample.png, and
108 ComplexTextLayoutExample.png
109
110 Tested by: Alan W. Irwin <[email protected]> on Linux
111 (Debian Testing) by following all the shared library and static
112 library build-tree and installed examples tree test steps documented
113 in a local variation of README.Release_Manager_Cookbook that will soon
114 be committed. All these tests passed without any issues.
115
116
117 ------------------------------------------------------------------------
118 r215 | airwin | 2019-01-29 18:11:58 -0800 (Tue, 29 Jan 2019) | 4 lines
119 Changed paths:
120 M /trunk/CMakeLists.txt
121 M /trunk/src/CMakeLists.txt
122
123 Insert copyright notice in CMakeLists.txt and src/CMakeLists.txt
124
125 In addition I fixed a CMake version number typo in the CMakeLists.txt comments.
126
127 ------------------------------------------------------------------------
128 r214 | airwin | 2019-01-29 18:08:50 -0800 (Tue, 29 Jan 2019) | 2 lines
129 Changed paths:
130 M /trunk/examples/README
131
132 Substantial update of the documentation of the examples
133
134 ------------------------------------------------------------------------
135 r213 | airwin | 2019-01-25 12:57:27 -0800 (Fri, 25 Jan 2019) | 85 lines
136 Changed paths:
137 M /trunk/include/LASi.h
138 M /trunk/src/psDoc.cpp
139
140 Make glyph names have a one-to-one relationship with glyphs
141
142 This change to the glyph name (for the uncommon but not rare case when
143 FT_HAS_GLYPH_NAMES(face) is false for a given font) changes the glyph
144 name calculated by the nameof static function from
145
146 LASi_glyph_<unique number>
147
148 where unique number was incremented every time nameof was called
149
150 to
151
152 LASi_glyphU+<UCS4 hexadecimal code for the glyph>.
153
154 with a fallback to the unique number name approach if the UCS4 hexadecimal code for the glyph
155 could not be determined for some reason.
156
157 This change to the UCS4 version means there is now a one-to-one
158 relationship between unique glyph name and glyph. This has several
159 advantages:
160
161 * The unique glyph name is always the same for the same glyph
162 regardless of the order in which glyphs are encountered in strings.
163 This improvement eliminated the PLplot differences due to different
164 glyph names between octave results (calculated for all our standard
165 Octave examples with just one octave session) and C results
166 (calculated with a separate application for each of our standard C
167 examples).
168
169 * When bounding-boxes are calculated using the get_dimensions method
170 and text renderered with the show command, nameof is called twice
171 with the same glyph. For that case, the unique number approach
172 calculated two different glyph names for the same glyph resulting in
173 redundant glyph functions (with different unique number names but
174 same contents) being stored in the PostScript header. That libLASi
175 misfeature has been eliminated with the new UCS4 glyph naming
176 approach.
177
178 * The new version of the glyph names contains the UCS4 information for
179 the glyph which allows users to understand (with the aid of
180 applications such as gucharmap) exactly which glyph their
181 application was asking to be rendered. This additional glyph
182 information is quite useful when debugging results.
183
184 The implementation of this change required copying (with a small
185 adaptation) the C-style static function utf8_to_ucs4 from
186 PLplot as allowed by the LGPL license for PLplot. This change also required
187 the following backwards incompatibility to the libLASi API
188
189 - GlyphId(FT_Face, const FT_UInt);
190 + GlyphId(FT_Face, const FT_UInt, uint32_t unichar);
191
192 Since this is a protected method that is normally only used internally
193 it is anticipated that few if any libLASi users will have to actually
194 change their code due to this change. (For example, this is the case
195 for PLplot which depends completely on libLASi for its psttf device
196 driver implementation.) However, all libLASi users will have to
197 recompile their code due to this change so to force that I plan to
198 bump the SONAME for the libLASi library (as usual for any
199 backwards-incompatible change) before the forthcoming release
200 of the libLASi software.
201
202 Tested by: Alan W. Irwin <airwin@...> on Linux
203 (Debian Testing) by configuring libLASi, building it with "make", and
204 testing it with "ctest --verbose". The results for all three examples
205 continued to look good. And the redundant glyph functions in the
206 PostScript headers are now eliminated with the UCS4 codes double-checked
207 with gucharmap for example 2 in a couple of cases.
208
209 Further PLplot test:
210
211 I installed this updated liblasi library and configured a PLplot build to use that
212 installed version for its psttf device driver and also specified -DPLPLOT_TEST_DEVICE=psttfc
213 to use that device for the test_diff_device target. I built that target
214 (which compares psttfc results for all examples written in all our supported languages).
215 The test_diff_device report was perfect, i.e., the octave differences that occurred before
216 because of different glyph function names in the header are now gone. In addition,
217 the triple redundancy (presumably because that device calls bounding box twice) in
218 glyph functions is now also gone.
219
220 In sum, this change has nicely eliminated a number of minor (because
221 FT_HAS_GLYPH_NAMES(face) is false only for relatively few fonts)
222 libLASi issues.
223
224
225 ------------------------------------------------------------------------
226 r212 | airwin | 2019-01-24 02:32:58 -0800 (Thu, 24 Jan 2019) | 121 lines
227 Changed paths:
228 M /trunk/examples/MissingGlyphExample.cpp
229 M /trunk/include/LASi.h
230 M /trunk/src/psDoc.cpp
231
232 Work around libLASi issue that occurs when pango chooses pure bitmapped fonts
233
234 An example of such a pure bitmapped font is the popular Noto Color
235 Emoji. For glyphs such as "Unicode U+2648 ARIES: ♈", pango
236 (presumably due to the default configuration of fontconfig on my
237 Debian Testing system) chooses this font to render this glyph (and some
238 other fairly common glyphs as well). Of course, this font is incompatible with libLASi since
239 that library can only use scalable outline fonts rather than bitmapped
240 ones.
241
242 The (DEBUG) result for this incompatible pango choice was
243
244 FT_Load_Glyph is returning error = 24 for a glyph index of 52 associated with the substring ♈♈
245
246 where 24 (see
247 <https://www.freetype.org/freetype2/docs/reference/ft2-error_code_values.html>)
248 corresponds to "Invalid_Size_Handle" which I assume means simply that
249 pure bitmapped fonts cannot be scaled (one of the font attributes that
250 libLASi obviously needs). Prior to this commit, the libLASi response
251 for any FT_Load_Glyph error was to try again with a glyph index of 0
252 (normally used to obtain the default replacement glyph for the type
253 face). But, of course, the exact same error as above is obtained for
254 this glyph index as well for Noto Color Emoji. Therefore, the result
255 of this glyph index 0 error condition was libLASi aborted which is not
256 an acceptable result due simply to the overall popularity of Noto
257 Color Emoji.
258
259 Of course, this library abort can be avoided if fontconfig is
260 reconfigured to avoid bitmapped fonts or (almost equivalently) the
261 user uninstalls the Noto Color Emoji font package, but such
262 "solutions" are not acceptable in general because of the popularity of
263 this font for many other tasks where a bitmapped font is fine.
264
265 Ideally, the solution to this issue would be to ask pango to only
266 choose outline fonts, but I am not aware of any method of making such
267 a request of that library. So unless or until such a method is
268 discovered (or developed) for the pango library, the only solution to
269 this issue is to find a libLASi workaround when the above glyph index
270 0 response to a FT_Load_Glyph error also errors out.
271
272 This commit implements such a workaround which is to substitute the
273 default replacement glyph for each glyph in the PangoItem
274 (corresponding to a run of characters that can all be rendered with a
275 font of fixed family, slant, weight, and width (but not size)).
276 whenever such an error is discovered for any glyph in a PangoItem.
277
278 The chosen emergency glyph is "\n" which experience shows reliably
279 forces the glyph index 0 code path which replaces that linefeed
280 with the default replacement glyph (normally an empty box). So the
281 net result is the default replacement glyph is rendered now for all
282 error cases.
283
284 I have updated the explanatory text in MissingGlyphExample.cpp to be
285 consistent with this conclusion.
286
287 N.B. as part of this fix I transferred the PangoItem processing part
288 of the code in the for_each_glyph_do method (which is a misnomer since
289 it should really be called for_each_string_do) to a new
290 PostscriptDocument method called PangoItem_do. This code
291 reorganization makes the code substantially easier to understand with
292 PangoItem_do doing most of the work, and for_each_glyph_do responding
293 to any errors reported by that method which it could not handle itself
294 with the glyph_index 0 code path.
295
296 Unfortunately this reorganization means the new routine PangoItem_do
297 must be a protected class method (rather than a simple C-style static
298 routine) because it uses protected data from the PostscriptDocument
299 class. This change is a backward-incompatible change to libLASi.h and
300 the libLASi library which will require users of that library to
301 recompile their code against the changed libLASi.h. However, this
302 backwards-incompatible change will not require them to actually change
303 their code.
304
305 Tested by: Alan W. Irwin <[email protected]> on Linux
306 (Debian Testing) by configuring libLASi, building it with "make", and
307 testing it with "ctest --verbose". The results for the "Missing
308 Glyphs" showed empty boxes (the expected default replacement glyph)
309 for both the missing glyphs and all (two) Aries glyphs associated
310 with a PangoItem font face where pango chose the Noto Color Emoji
311 font.
312
313 Further tests:
314
315 * I ran all three examples under valgrind with no memory management
316 issues other than memory leaks reported.
317
318 * I installed this updated liblasi library and configured a PLplot build to use that
319 installed version for its psttf device driver and also specified -DPLPLOT_TEST_DEVICE=psttfc
320 to use that device for the test_diff_device target. I built that target
321 (which compares psttfc results for all examples written in all our supported languages).
322 The test_diff_device report was clean except for
323
324 octave
325 Missing examples : 24
326 Differing graphical output :
327 Missing stdout :
328 Differing stdout :
329
330 which further investigation showed was simply an artifact of the octave calculation
331 being done with one octave session so that the unique lasi_index number associated
332 with broken fonts that fail the !FT_HAS_GLYPH_NAMES(face) test is different for
333 octave compared to the C examples.
334
335 * I viewed all 33 C standard example results built as part of the test_diff_device
336 target build using the gv PostScript viewer. In all cases (except for example 7 where
337 the signs of the zodiac came out as empty boxes because of the Noto Color Emoji choice
338 by pango) the rendering of the examples looked good.
339
340 In sum the only issue I could find for any of these tests is
341 duplicated (due to bounding-box calculations) GlyphId's in those rare
342 cases where a font failed the !FT_HAS_GLYPH_NAMES(face) test. That
343 duplication lead to redundant glyph information (with different
344 LASi_glyph_* titles but duplicate contents) being stored in the
345 headers of the PostScript results. The only way to address this issue
346 is to not call GlyphId when bounding boxes are being calculated, but I
347 don't know how to implement such a test. Furthermore, I judge this to
348 be a minor issue because relatively few fonts are sufficient broken to
349 fail the !FT_HAS_GLYPH_NAMES(face) test so I am going to live with
350 this issue.
351
352
353 ------------------------------------------------------------------------
354 r211 | airwin | 2019-01-23 16:24:48 -0800 (Wed, 23 Jan 2019) | 31 lines
355 Changed paths:
356 M /trunk/examples/MissingGlyphExample.cpp
357
358 Modify the "Missing Glyph" example again
359
360 In this case I replaced
361
362 - "Unicode U+1878 MONGOLIAN LETTER CHA WITH TWO DOTS: ᡸ",
363 + "Embedded newlines a\\nb\\nc: a\nb\nc",
364
365 because I have verified experimentally that inserting a newline
366 character (and presumably any other non-printing character) in the
367 character string generates a missing glyph condition that results in
368 the replacement glyph (normally an empty box) being substituted by the
369 libLASi code. So this appears to be a much more reliable way
370 (compared to random unicode glyphs that happen not to be available now
371 but which will likely become available later) in the long run to test
372 the response of libLASi to missing glyphs.
373
374 Tested by: Alan W. Irwin <[email protected]> on Linux
375 (Debian Testing) by configuring libLASi, building the all target,
376 running ctest, and verifying with gv that the resulting Encapsulated
377 PostScript file has substituted the missing glyph empty box for the
378 embedded newlines.
379
380 N.B. this test was done for a modified version of
381 examples/MissingGlyphExample.cpp where the Aries symbols were dropped.
382 Of course, with those symbols restored to the example as in this
383 commit, ctest errors out as before because of the attempt to use an
384 unsuitable pure bitmap font (Noto Color Emoji) to handle the Aries
385 glyph. A solution to that remaining libLASi issue has been found but
386 it is not commit-ready yet (and it was not used for the present test).
387
388
389 ------------------------------------------------------------------------
390 r210 | airwin | 2019-01-22 17:35:57 -0800 (Tue, 22 Jan 2019) | 87 lines
391 Changed paths:
392 M /trunk/examples/MissingGlyphExample.cpp
393
394 Update "Missing Glyphs" example to provide more stringent tests of the libLASi library
395
396 One on-going testing issue with this example is Debian fonts are
397 constantly improving. So in contrast to the Debian Jessie case,
398 Debian Testing provides all the glyphs for the previous version of
399 this example which therefore no longer tests libLASi's response to missing
400 glyphs. So to address that issue (at least temporarily) I have added
401
402 "Unicode U+1878 MONGOLIAN LETTER CHA WITH TWO DOTS: ᡸ"
403
404 to the strings being rendered by this example. This means this
405 example tests missing glyphs again for me since this glyph is missing
406 for the (extensive) set of Debian Testing font packages I currently
407 have installed.
408
409 One important libLASi defining characteristic is this library can only
410 use scalable outline fonts. Until recently this has largely been only
411 a theoretical concern because fontconfig was typically set up to
412 prefer modern outline fonts over old-fashioned bitmapped fonts.
413 However, that all changed with the advent of the Noto Color Emoji
414 family of fonts which are high-quality pure *bitmapped* fonts suitable
415 for rendering the extraordinarily popular emojis. Currently, for
416 Debian Testing at least, pango/fontconfig chooses this font over
417 suitable outline alternatives (likely because of that emoji
418 popularity), and there doesn't seem to be any way to overcome this
419 problem other than to remove the Noto Color Emoji font package, wait
420 for an outline version of that family of fonts to become available, or
421 (to express a really bad alternative) to configure fontconfig in one
422 way when using libLASi and another way when desiring emoji's for text
423 transmissions.
424
425 Also, pango/freetype does not appear to have any programming method to
426 force outline fonts to be chosen. So going forward the plan is to
427 change libLASi to substitute blank glyphs for all glyphs in a
428 PangoItem where an error occurs (e.g., due to missing glyphs or a pure
429 bitmap font being chosen by pango for the PangoItem). (Note a pango
430 item is associated with a sub-block of text that can be rendered with
431 a single font face, i.e., a group of fonts constrained to have the
432 same family, weight, slant, stretch and width but possibly varying
433 sizes).
434
435 To test this situation for the current libLASi, I have inserted in this
436 commit the test string
437
438 "Unicode U+2648 ARIES (twice): ♈♈"
439
440 where it turns out that pango currently selects the completely
441 unsuitable (from the libLASi perspective) pure bitmap font "Noto Color
442 Emoji" to represent those Aries symbols. (This issue with the Aries
443 symbol was first discovered by PLplot comprehensive testing of the
444 psttf device driver which depends on libLASi.)
445
446 In addition, I have taken this opportunity to move from the "Arial"
447 font to the more generic "serif" font which presumably gives
448 fontconfig the same or even more freedom to choose the best font to
449 render a particular glyph. And I have also changed all test strings
450 being rendered in this example to ones that describe themselves in
451 more detail, e.g.,
452
453 "Unicode U+0802: ࠂ"
454
455 was replaced by
456
457 "Unicode U+0802 SAMARITAN LETTER GAMAN: ࠂ"
458
459 Tested by: Alan W. Irwin <[email protected]> on Linux
460 (Debian Testing) by configuring LASi (using the Debian Testing system
461 version (3.13.2) of cmake), building the "all" target, and running
462 ctest --verbose. The result for this commit of the "Missing Glyphs"
463 example was as follows:
464
465 [...]
466 test 1
467 Start 1: example0
468
469 1: Test command: /home/software/lasi_svn/HEAD/build_dir/examples/example0 "example0.ps"
470 1: Test timeout computed to be: 9.99988e+06
471 1: Error returned from FT_Load_Glyph
472 1/3 Test #1: example0 .........................***Failed 0.08 sec
473 [...]
474
475 A test with the previous version of this example produces no such
476 errors which confirms the new version of this example is a more
477 stringent test of libLASi. N.B. this ctest error will continue until
478 the libLASi library can be changed as discussed above.
479
480
481 ------------------------------------------------------------------------
482 r209 | airwin | 2019-01-22 15:52:19 -0800 (Tue, 22 Jan 2019) | 27 lines
483 Changed paths:
484 M /trunk/src/drawGlyph.cpp
485 M /trunk/src/psDoc.cpp
486
487 Replace deprecated lower-case variants of Freetype macro constants with preferred upper-case form
488
489 That is change libLASi references to ft_glyph_bbox_unscaled and
490 ft_glyph_format_outline with FT_GLYPH_BBOX_UNSCALED and
491 FT_GLYPH_FORMAT_OUTLINE.
492
493 Tested by: Alan W. Irwin <[email protected]> on Linux
494 (Debian Testing) by configuring libLASi with the system version (3.13.2) of
495 cmake and building the libLASi library (with "make LASi") without
496 build errors.
497
498 Note the above deprecation of the lower-case form of the macro
499 constants was only noted by chance in documentation, and the actual
500 libLASi build continues to generate deprecation warnings due to other
501 long-standing issues. Those issues (some of which have multiple
502 instances) are the following:
503
504 * "warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]"
505
506 * "warning: ‘PangoContext* pango_ft2_get_context(double, double)’ is deprecated: Use 'pango_font_map_create_context' instead [-Wdeprecated-declarations]"
507
508 * "warning: ‘FT_FaceRec_* pango_ft2_font_get_face(PangoFont*)’ is deprecated: Use 'pango_fc_font_lock_face' instead [-Wdeprecated-declarations]"
509
510 All of these are beyond my current C++ and pango skill level to fix so
511 help with cleaning up these deprecation warnings would be much appreciated!
512
513
514 ------------------------------------------------------------------------
515 r208 | airwin | 2019-01-22 14:34:44 -0800 (Tue, 22 Jan 2019) | 77 lines
516 Changed paths:
517 M /trunk/examples/ComplexTextLayoutExample.cpp
518 M /trunk/examples/MissingGlyphExample.cpp
519
520 Add boundary boxes to the "Missing Glyph" and "Complex Text Layout" examples
521
522 This change was straightforward for the "Missing Glyph" case.
523
524 For the "Complex Text Layout" case, I implemented some generally
525 useful C++ code macros (called LASI_SHOW_AND_UPDATE_BB,
526 LASI_SCALED_SHOW_AND_UPDATE_BB, and LASI_ROTATED_SHOW_AND_UPDATE_BB),
527 which made it straightforward to handle even complex cases such as
528 anamorphic scaling and rotation of text. For example, the
529 LASI_ROTATED_SHOW_AND_UPDATE_BB macro includes C++ code to apply the
530 rotation matrix to determine the x,y coordinates of the corners of the
531 rotated text box and use those corner coordinates to help determine
532 the overall bounding box.
533
534 In addition, for the "Complex Text Layout" case I reduced the font
535 size from 30 to 25 of the "UTHAITHANI IN THAI: อุทัยธานี" section of this
536 example to compensate for what appears to be a systematic increase
537 over the years (compared to previous screenshots of this example and
538 other lines of text in this example) in the font actually determined
539 by the Debian testing version of pango when the "Garuda" font is
540 specifically requested for this component. A gucharmap experiment
541 with requesting this font with the Debian Testing package
542 fonts-tlwg-garuda-otf installed for the U+0E2D THAI CHARACTER O ANG
543 "อุ" indicates that "Garuda" is the font actually used in this case.
544 Which indicates this increase in size we are compensating for in this
545 commit is not an artifact of the wrong font being chosen.
546
547 Tested by: Alan W. Irwin <[email protected]> on Linux
548 (Debian Testing). In the "Missing Glyph" case the test was a simple
549 one (using gv to check the boundary box of the complete eps result).
550 But in the "Complex Text Layout" case, I locally reduced the example
551 (using #if 0 ... #endif) to individual components and used the simple
552 gv test to test the above macros were working correctly for each of
553 those individual components and additional significant variations of
554 those components.
555
556 One such detailed test was for the red-rectangle component. By
557 looking at the eps result, I confirmed the resulting high-res boundary
558 box was identical with the path of the red rectangle implying that
559 applications paying strict attention to that high-res BB would split
560 the width of the line. And the low-res BB was slightly (less than one
561 point in all cases which is small compared to the width of the line)
562 outside the hig-res BB. So a similar conclusion can be drawn for
563 those applications paying attention to the low-res BB.
564
565 However, note there is a small but significant boundary-box issue with
566 the gv PostScript viewing application. The position indicator for the
567 app appears to conform to the low-res BB (i.e., it shows no position
568 outside that BB), but the white background supplied by that app is not
569 aligned properly with that BB. For example, the lower y value for
570 that white background is systematically too low (by a significant
571 number of points corresponding roughly to the width of the line)
572 relative to the BB, and the upper x value is systematically too large
573 by a similar amount.
574
575 A further detailed test was for the case of anamorphic scaling of text
576 for a number of different sequential text segments. In all cases
577 (subject to the above minor issues with gv), the bounding box of the
578 composite set of all such text segments was calculated properly.
579
580 A final detailed test was for the rotated text component where I used
581 sequential text rotated by various increments to prove each text
582 segment was continuous with the previous one and rotated properly.
583 Also, I confirmed for all these different rotation tests (subject to
584 the above minor issues with gv), that in all cases (including one that
585 had overall rotation angles in all quadrants) the bounding box of the
586 composite set of all rotated text segments was calculated properly.
587
588 Of course, after all those individual detailed component tests were
589 completed, I changed the "Complex Text Layout" example to the present case where each component
590 updates if necessary (i.e., if the component BB is larger in any dimension
591 than the overall boundary box calculated for previous components) the overall
592 bounding box. And a simple gv test shows that entire result looks good
593 including an appropriate overall bounding box (subject to the
594 above minor issue with gv).
595
596
597 ------------------------------------------------------------------------
598 r207 | airwin | 2019-01-22 11:39:08 -0800 (Tue, 22 Jan 2019) | 9 lines
599 Changed paths:
600 M /trunk/src/psDoc.cpp
601
602 Fix minor boundary box issue
603
604 The low-resolution (integer) boundary box was being calculated by
605 taking the floor of all high-resolution (double) boundary box limits.
606 This commit changes that to the floor of the high-resolution lower
607 limits and the ceil of the high-resolution upper limits so that low
608 resolution bounding-box limits are always outside the high-resolution
609 limits, but with the difference always less than one point.
610
611 ------------------------------------------------------------------------
612 r206 | airwin | 2019-01-10 18:20:41 -0800 (Thu, 10 Jan 2019) | 26 lines
613 Changed paths:
614 M /trunk/Doxyfile.developer
615 M /trunk/Doxyfile.user
616
617 Update doxygen configuration files from doxygen version 1.8.1.2 to 1.8.13
618
619 These conversions were done using
620
621 doxygen -u Doxyfile.developer
622 doxygen -u Doxyfile.user
623
624 Tested by: Alan W. Irwin <[email protected]> on Linux
625 (Debian Testing) by running (from an initially empty build tree and
626 with the Debian Testing 3.13.2 version of CMake)
627
628 cmake -DCMAKE_INSTALL_PREFIX=/home/software/lasi_svn/install -DBUILD_SHARED_LIBS=ON ../lasi_2019 >& cmake.out
629 # To remove previously generated doxygen results in the source tree.
630 make clean >& clean.out
631 make all >& all.out
632
633 with no doxygen build issues other than one @param warning that the
634 parameter mapval does not occur in the argument list for
635 PostscriptDocument::accrue_dimensions. Since mapval does appear in
636 this argument list, this warning can only be explained by some doxygen
637 C++ code-parsing failure.
638
639 In addition, I skimmed the generated results at doc/developer/html
640 and doc/user/html/ with firefox, and all seemed well.
641
642
643 ------------------------------------------------------------------------
644 r205 | airwin | 2019-01-10 17:16:23 -0800 (Thu, 10 Jan 2019) | 24 lines
645 Changed paths:
646 M /trunk/CMakeLists.txt
647
648 Bump (or shove hard in this case) the minimum version of CMake from 2.8.9 to 3.13.2
649
650 This change is motivated by the bug fixes in later CMake versions and
651 also the much better checking of the build system that occurs for the
652 policies automatically used for 3.13.2. That said, it is a tribute to
653 the robustness of the current libLASi build system and the backwards
654 compatibility of CMake that there were absolutely no build-system
655 warnings either before or after this change.
656
657 Tested by: Alan W. Irwin <[email protected]> on Linux
658 (Debian Testing) by running (from an initially empty build tree and
659 with the Debian Testing 3.13.2 version of CMake)
660
661 cmake -DCMAKE_INSTALL_PREFIX=/home/software/lasi_svn/install -DBUILD_SHARED_LIBS=ON ../lasi_2019 >& cmake.out
662 make
663 ctest
664
665 with no issues other than outdated Doxygen configuration files (which
666 will be the subject of the next commit).
667
668
669
670
671
672 ------------------------------------------------------------------------
673 r204 | airwin | 2015-05-20 18:14:08 -0700 (Wed, 20 May 2015) | 45 lines
674 Changed paths:
675 M /trunk/src/CMakeLists.txt
676
677 Build system: set target property POSITION_INDEPENDENT_CODE ON for the libLASi library
678
679 This change allows shared libraries from foreign software (e.g.,
680 PLplot) to link to the static version of libLASi. The cost of this
681 gain is there is a small amount of inefficiency (e.g., the more
682 complicated addressing code that apparently occurs on Linux for all
683 code compiled with the -fPIC flag) introduced for the static libLASi
684 library.
685
686 Tested by Alan W. Irwin <[email protected]> on Linux
687 using the following procedure (which is normally used for testing
688 changes to libLASi):
689
690 cd /home/software/lasi_svn/HEAD/build_dir
691 # Remove build tree and install tree
692 rm -rf /home/software/lasi_svn/HEAD/build_dir/* /home/software/lasi_svn/install
693
694 # Configure libLASi build, test, and install
695 # (Note change from normal procedure where we have specified building
696 # a static version of libLASi.)
697 cmake -DCMAKE_INSTALL_PREFIX=/home/software/lasi_svn/install \
698 -DBUILD_SHARED_LIBS=OFF ../lasi_allura >& cmake.out
699
700 # Check results
701 less cmake.out
702
703 # Build and install
704 make -j4 install >& install.out
705
706 # Check results
707 less install.out
708
709 # Test
710 ctest
711
712 I then followed up with a comprehensive test of PLplot where this
713 static libLasi library was fine for the shared library case for that
714 build (both with and without dynamic devices). However, under these
715 conditions the traditional PLplot static build had some (missing
716 stdlib++) difficulties with the mixed Fortran, C++, and C case. This
717 is expected and unfortunately there is no easy cure. Therefore some
718 static/traditional testing limits are in train to avoid this case for
719 future testing.
720
721
722 ------------------------------------------------------------------------
723 r203 | airwin | 2014-07-26 15:31:57 -0700 (Sat, 26 Jul 2014) | 2 lines
724 Changed paths:
725 M /trunk/CONCATENATED_README.release
726
727 Prepend the release notes for 1.1.2.
728
729 ------------------------------------------------------------------------
730 r202 | airwin | 2014-07-26 15:31:31 -0700 (Sat, 26 Jul 2014) | 2 lines
731 Changed paths:
732 M /trunk/README.Release_Manager_Cookbook
733
734 Update instructions to exactly what occurred for the 1.1.2 release.
735
736 ------------------------------------------------------------------------
737 r200 | airwin | 2014-07-26 13:54:34 -0700 (Sat, 26 Jul 2014) | 2 lines
738 Changed paths:
739 M /trunk/ChangeLog.release
740
741 Update commit messages for 1.1.2 release cycle.
742
743 ------------------------------------------------------------------------