Skip to content
Permalink
Browse files

Export PDF avec itext

  • Loading branch information...
Quincy Quincy
Quincy authored and Quincy committed May 30, 2017
1 parent 038b638 commit d0265917a002d0dd7e70402e09b7117a36a4aff7
Showing with 51,094 additions and 34 deletions.
  1. BIN fonts/FreeSans.ttf
  2. +340 −0 fonts/ghostscript-fonts-std-8.11/COPYING
  3. +131 −0 fonts/ghostscript-fonts-std-8.11/ChangeLog
  4. +54 −0 fonts/ghostscript-fonts-std-8.11/README
  5. +38 −0 fonts/ghostscript-fonts-std-8.11/README.tweaks
  6. +4 −0 fonts/ghostscript-fonts-std-8.11/TODO
  7. +1,569 −0 fonts/ghostscript-fonts-std-8.11/a010013l.afm
  8. BIN fonts/ghostscript-fonts-std-8.11/a010013l.pfb
  9. BIN fonts/ghostscript-fonts-std-8.11/a010013l.pfm
  10. +1,563 −0 fonts/ghostscript-fonts-std-8.11/a010015l.afm
  11. BIN fonts/ghostscript-fonts-std-8.11/a010015l.pfb
  12. BIN fonts/ghostscript-fonts-std-8.11/a010015l.pfm
  13. +1,542 −0 fonts/ghostscript-fonts-std-8.11/a010033l.afm
  14. BIN fonts/ghostscript-fonts-std-8.11/a010033l.pfb
  15. BIN fonts/ghostscript-fonts-std-8.11/a010033l.pfm
  16. +1,565 −0 fonts/ghostscript-fonts-std-8.11/a010035l.afm
  17. BIN fonts/ghostscript-fonts-std-8.11/a010035l.pfb
  18. BIN fonts/ghostscript-fonts-std-8.11/a010035l.pfm
  19. +1,568 −0 fonts/ghostscript-fonts-std-8.11/b018012l.afm
  20. BIN fonts/ghostscript-fonts-std-8.11/b018012l.pfb
  21. BIN fonts/ghostscript-fonts-std-8.11/b018012l.pfm
  22. +1,563 −0 fonts/ghostscript-fonts-std-8.11/b018015l.afm
  23. BIN fonts/ghostscript-fonts-std-8.11/b018015l.pfb
  24. BIN fonts/ghostscript-fonts-std-8.11/b018015l.pfm
  25. +1,580 −0 fonts/ghostscript-fonts-std-8.11/b018032l.afm
  26. BIN fonts/ghostscript-fonts-std-8.11/b018032l.pfb
  27. BIN fonts/ghostscript-fonts-std-8.11/b018032l.pfm
  28. +1,573 −0 fonts/ghostscript-fonts-std-8.11/b018035l.afm
  29. BIN fonts/ghostscript-fonts-std-8.11/b018035l.pfb
  30. BIN fonts/ghostscript-fonts-std-8.11/b018035l.pfm
  31. +1,574 −0 fonts/ghostscript-fonts-std-8.11/c059013l.afm
  32. BIN fonts/ghostscript-fonts-std-8.11/c059013l.pfb
  33. +1,562 −0 fonts/ghostscript-fonts-std-8.11/c059016l.afm
  34. BIN fonts/ghostscript-fonts-std-8.11/c059016l.pfb
  35. +1,564 −0 fonts/ghostscript-fonts-std-8.11/c059033l.afm
  36. BIN fonts/ghostscript-fonts-std-8.11/c059033l.pfb
  37. +1,557 −0 fonts/ghostscript-fonts-std-8.11/c059036l.afm
  38. BIN fonts/ghostscript-fonts-std-8.11/c059036l.pfb
  39. +226 −0 fonts/ghostscript-fonts-std-8.11/d050000l.afm
  40. BIN fonts/ghostscript-fonts-std-8.11/d050000l.pfb
  41. +392 −0 fonts/ghostscript-fonts-std-8.11/fonts.dir
  42. +392 −0 fonts/ghostscript-fonts-std-8.11/fonts.scale
  43. +1,560 −0 fonts/ghostscript-fonts-std-8.11/n019003l.afm
  44. BIN fonts/ghostscript-fonts-std-8.11/n019003l.pfb
  45. BIN fonts/ghostscript-fonts-std-8.11/n019003l.pfm
  46. +1,557 −0 fonts/ghostscript-fonts-std-8.11/n019004l.afm
  47. BIN fonts/ghostscript-fonts-std-8.11/n019004l.pfb
  48. BIN fonts/ghostscript-fonts-std-8.11/n019004l.pfm
  49. +1,581 −0 fonts/ghostscript-fonts-std-8.11/n019023l.afm
  50. BIN fonts/ghostscript-fonts-std-8.11/n019023l.pfb
  51. BIN fonts/ghostscript-fonts-std-8.11/n019023l.pfm
  52. +1,573 −0 fonts/ghostscript-fonts-std-8.11/n019024l.afm
  53. BIN fonts/ghostscript-fonts-std-8.11/n019024l.pfb
  54. BIN fonts/ghostscript-fonts-std-8.11/n019024l.pfm
  55. +1,562 −0 fonts/ghostscript-fonts-std-8.11/n019043l.afm
  56. BIN fonts/ghostscript-fonts-std-8.11/n019043l.pfb
  57. +1,553 −0 fonts/ghostscript-fonts-std-8.11/n019044l.afm
  58. BIN fonts/ghostscript-fonts-std-8.11/n019044l.pfb
  59. +1,564 −0 fonts/ghostscript-fonts-std-8.11/n019063l.afm
  60. BIN fonts/ghostscript-fonts-std-8.11/n019063l.pfb
  61. +1,565 −0 fonts/ghostscript-fonts-std-8.11/n019064l.afm
  62. BIN fonts/ghostscript-fonts-std-8.11/n019064l.pfb
  63. BIN fonts/ghostscript-fonts-std-8.11/n019064l.pfm
  64. +1,571 −0 fonts/ghostscript-fonts-std-8.11/n021003l.afm
  65. BIN fonts/ghostscript-fonts-std-8.11/n021003l.pfb
  66. BIN fonts/ghostscript-fonts-std-8.11/n021003l.pfm
  67. +1,569 −0 fonts/ghostscript-fonts-std-8.11/n021004l.afm
  68. BIN fonts/ghostscript-fonts-std-8.11/n021004l.pfb
  69. BIN fonts/ghostscript-fonts-std-8.11/n021004l.pfm
  70. +1,571 −0 fonts/ghostscript-fonts-std-8.11/n021023l.afm
  71. BIN fonts/ghostscript-fonts-std-8.11/n021023l.pfb
  72. BIN fonts/ghostscript-fonts-std-8.11/n021023l.pfm
  73. +1,572 −0 fonts/ghostscript-fonts-std-8.11/n021024l.afm
  74. BIN fonts/ghostscript-fonts-std-8.11/n021024l.pfb
  75. BIN fonts/ghostscript-fonts-std-8.11/n021024l.pfm
  76. +582 −0 fonts/ghostscript-fonts-std-8.11/n022003l.afm
  77. BIN fonts/ghostscript-fonts-std-8.11/n022003l.pfb
  78. +582 −0 fonts/ghostscript-fonts-std-8.11/n022004l.afm
  79. BIN fonts/ghostscript-fonts-std-8.11/n022004l.pfb
  80. +582 −0 fonts/ghostscript-fonts-std-8.11/n022023l.afm
  81. BIN fonts/ghostscript-fonts-std-8.11/n022023l.pfb
  82. +582 −0 fonts/ghostscript-fonts-std-8.11/n022024l.afm
  83. BIN fonts/ghostscript-fonts-std-8.11/n022024l.pfb
  84. +1,576 −0 fonts/ghostscript-fonts-std-8.11/p052003l.afm
  85. BIN fonts/ghostscript-fonts-std-8.11/p052003l.pfb
  86. +1,572 −0 fonts/ghostscript-fonts-std-8.11/p052004l.afm
  87. BIN fonts/ghostscript-fonts-std-8.11/p052004l.pfb
  88. +1,578 −0 fonts/ghostscript-fonts-std-8.11/p052023l.afm
  89. BIN fonts/ghostscript-fonts-std-8.11/p052023l.pfb
  90. +1,551 −0 fonts/ghostscript-fonts-std-8.11/p052024l.afm
  91. BIN fonts/ghostscript-fonts-std-8.11/p052024l.pfb
  92. +213 −0 fonts/ghostscript-fonts-std-8.11/s050000l.afm
  93. BIN fonts/ghostscript-fonts-std-8.11/s050000l.pfb
  94. +1,430 −0 fonts/ghostscript-fonts-std-8.11/z003034l.afm
  95. BIN fonts/ghostscript-fonts-std-8.11/z003034l.pfb
  96. BIN fonts/ghostscript-fonts-std-8.11/z003034l.pfm
  97. +62 −0 fop-config.xml
  98. +105 −0 skos-alpha.xsl
  99. +29 −1 src/main/java/mom/trd/opentheso/SelectedBeans/DownloadBean.java
  100. +36 −0 src/main/java/mom/trd/opentheso/SelectedBeans/skosExportBean.java
  101. +18 −14 src/main/java/mom/trd/opentheso/bdd/helper/StatisticHelper.java
  102. +2 −2 src/main/java/mom/trd/opentheso/core/exports/helper/ExportStatistiques.java
  103. +584 −0 src/main/java/mom/trd/opentheso/core/exports/pdf/WritePdf.java
  104. +7 −7 src/main/java/mom/trd/opentheso/core/exports/rdf4j/helper/ExportRdf4jHelper.java
  105. +487 −0 src/main/java/mom/trd/opentheso/skosapi/SKOSResource.java
  106. BIN src/main/resources/fonts/FreeSans.ttf
  107. +148 −0 src/main/webapp/dialogs/export/exportPdfDlg.xhtml
  108. +4 −0 src/main/webapp/edition.xhtml
  109. +92 −10 src/test/java/export/ApacheFOP.java
  110. +117 −0 src/test/java/export/itextPdf.java
  111. BIN test-itext.pdf
BIN +449 KB fonts/FreeSans.ttf
Binary file not shown.

Large diffs are not rendered by default.

@@ -0,0 +1,131 @@
2002-11-22 Valek Filippov <frob@df.ru>

Fixed bug that broke printing from QT.

2002-11-16 Valek Filippov <frob@df.ru>

Fixed some cyrillic (russian) glyphs in NimbusMono.
NimbusMono Ascend/Descend were changed to match the visible
size of the other font if same point-size is used.

2002-10-12 Valek Filippov <frob@df.ru>

Regenerated coz I screwed up UIDs.
Partly applied Owen Tailor tweaks.
(Really GWW changed pfaedit autohinter after OT sugggestion,
so other OT tweaks are aoutomade by pfaedit)

2002-08-17 Valek Filippov <frob@df.ru>

Regenerated from 9-aug pfaedit version.
Mostly for testing of new cubic->quad bezier conversion.

2002-07-22 Valek Filippov <frob@df.ru>

Regenerated from 22-07 pfaedit version.
I still haven't enough time for correct serbian glyphs from Danilo
integration =(

2002-05-19 Valek Filippov <frob@df.ru>

Regenerated from 18-05 pfaedit version.
Restored original UIDs.
Made otf versions again =)

2002-03-06 Valek Filippov <frob@df.ru>

Added pfms. Forced using of original kerning.
d* and s* files were missed (fixed now).

2002-03-04 Valek Filippov <frob@df.ru>

Improved Bookman and Gothic. All fonts were regenerated
(fix 'Delta', improved hinting). pfms are temporary excluded.

2002-02-03 Valek Filippov <frob@df.ru>

Improved Bookman Light/DemiBold. At 2002-01-07 I put
non latest version of Chancery -- fixed.

2002-01-18 Valek Filippov <frob@df.ru>

All fonts regenerated again, coz AEN found bug in names translation.
NimbusRomNo9-Regu greatly improved. NimbusRomNo9-Bold, NimbusSans{Cond}-{Regu,Bold}
partially improved.

2002-01-07 Valek Filippov <frob@df.ru>

Bookman improved. Chancery added.

2002-01-04 Valek Filippov <frob@df.ru>

All fonts were regenerated.
TTF-instructions were improved, some non-russian cyrillic
fixed, "fi" and "fl" ligatures ligaturized where were not.
Implemented some changes that Dmitry suggested,
NimbusMono-Regular is partially made by him.
Added COPYING. Generated pfm-files.
Added fonts.dir and fonts.scale from gnu-gs-fonts.

2001-12-14 Valek Filippov <frob@df.ru>

Full tarball was made.

NimbusRomNo9 regenerated. Added 'numero sign',
'infinity' and 'Omega' (in Regu -- by Dmitry 40in).
OTF versions removed until the best time.
Dmitry supposed that URW'd presented 'beta'-version
of fonts to community, coz bearings for original URW
are not perfect. 1st attempt to fix it.

2001-12-12 Valek Filippov <frob@df.ru>

Schoolbook extended to 'val3' and regenerated.
Palladio extended to 'val3' and regenerated.
Bookman extended to 'val3' and regenerated.
Gothic extended to 'val3' and regenerated.
Some glyphs still missed.

NimbusMono regenerated with modern pfaedit
(bug with xterm fixed). Some 0x4** glyphs fixed.
Added "number sign" and "infinity". Thanks to
Dmitry 40in and Anton Zinoviev who criticized me
about it.

2001-12-08 Valek Filippov <frob@df.ru>

Added updated version of NimbusSansCond.
Changes same like for NimbusSans
(except: otf version not added).

2001-12-07 Valek Filippov <frob@df.ru>

Added updated version of NimbusMono.
(Lat Ext-A, full 0x400 except 'glagolic', some chars are still
missed; ttf hinting regenerated; otf version added;
'Cyr De, de, L, l, Ch, ch' fixed).

2001-12-06 Valek Filippov <frob@df.ru>

Added updated version of NimbusSans.
(Lat Ext-A, full 0x400 except 'glagolic', some chars are still
missed; ttf hinting regenerated; otf version added;
'Cyr De, de, L, l, Ch, ch' fixed).

2001-12-05 Valek Filippov <frob@df.ru>

Kern pairs from original URW had missed at the 11-nov version.
Added OpenType version of fonts.

2001-11-11 Valek Filippov <frob@df.ru>

NimbusRomanNo9
Regular: added all uni0400 (except ancient cyrillic /glagolic?/).
04bc-04bf, 04a8-9, 04d8, 04da still missed.
added all glyphs from Lat Ext-A (uni0100-017F) that was missed
in original URW (45 glyphs).
Most of accented chars and part of cyrillics changed
with references.
TTF hinting regenerated with modern PfaEdit.
Bold: same but also missed 0494, 04a6, 04c3
Italic, BoldItalic: same but missed many non-russian cyrillics.
@@ -0,0 +1,54 @@
This is release 1.0.7pre22 of Valek Filippov's improved versions of the URW
type 1 font collection, repackaged for distribution with Ghostscript.

Cyrillized free URW fonts.

These fonts were made from the free URW fonts distributed with ghostcript.
There are NO changes in the latin part of them (I hope).
Cyrillic glyphs were added by copying suitable latin ones
and painting oulines of unique cyrillic glyphs in same style as the others.
For all modification pfaedit was used.
The license for result is (of course) same as for original fonts,
i.e. GPL with an exception that you can put these fonts in your own non-GPLed
documents. (Looks like LGPL from my point of view =).

The "sources" of these fonts in the native pfaedit format are available
at ftp://ftp.gnome.ru/fonts/sources

The great font editor pfaedit is available at http://pfaedit.sf.net.
That page also includes some links to fonts created by
George Williams -- the author of pfaedit.

Acknowledgements:
I would like to thank George Williams, the pfaedit's author and developer.
He is the most bug-reporter/feature-requester friendly developer
I ever saw in my not so short life. At some moment in the future
I must write a book about him: "George Williams and my best experience
in bug-reporting." George also greatly helped me bug-hunting these fonts,
explained to me some very important things about fonts and font design,
quickly adopted pfaedit to my needs (or pointed me to The Right Place in
documentation where I found better way of doing things).

I would like to thank Alexey Novodvorsky (aka AEN), who
pointed me to pfaedit and George Williams' fonts, explained
The Task to me. He is also one of the main participators in the
development of Sysiphus -- free repository of free software.
I didn't loose my time for compiling/installing and supporting
my linux box coz I used the result of Sysiphus developers' works.

I would like to thank Sergey Vlasov, who tested these fonts and reported
about bugs. Also he help me to make some bug-reports to George about
pfaedit bugs.

I would like Dmitry 40in, who did big QA for some font outlines, drawn some glyphs,
and explain some The Truths for me.

I would like to thank Vlad Harchev (aka hvv), who
proofread this text for me.

Also I have to thank RMS for GPL and URW for releasing the fonts
under it.

Thank you very much!
Valek Filippov frob@df.ru
(C)opyLeft 2001
@@ -0,0 +1,38 @@
Nimbus Sans L Regular, Nimbus Mono L Regular, Nimbus Mono L Oblique
all come from a more recent version of the cyrillic URW fonts.

The hints on Nimbus Sans Regular have been modified in the
following ways:

25 June 2002

- Added ghost hint to the top of 4 to keep it from being
taller than the other digits.
- Reduced the width of the left stem hint for H to 83
(probably no real differences)
- Changed the StemSnapV values from [78 85 94] to [78 83 92]
(and fixed up StdVW accordingly)
This corresponds to the values in the font (which are 83/93
for lower case and upper case stems) better and makes
the width-88 stems on M and N snap to to upper case
widths not lower-case widths.

29 June 2002

- Removed odd vertical stem hints (width of horizontal
stems) from f, F, t, E, yen sign, fi ligature,
fl ligature, AE ligature, R, Lstroke, OE ligature,
lstroke, E" variants, t, variants, Eth, Dstoke, etc.
- Fixed hints on 1 to be two ghost hints instead of one
hint the height of the font
- fix bottom stem of u to have integer coordinates
- fixed hints on |
- fixed hints on inverted exclamation mark

The hints on Nimbus Mono L Oblique have been modified in the
following ways:

- Removed vertical stem hints from horizontal serifs on
roman characters.

Owen Taylor
@@ -0,0 +1,4 @@
- fix all missed glyphs.
- change suitable glyphs with references.
- improve bearings of glyphs (thanks Dmitry 40in who pointed me to this)
- improve outlines of some cyrillic glyphs

0 comments on commit d026591

Please sign in to comment.
You can’t perform that action at this time.