Commit Graph

56209 Commits

Author SHA1 Message Date
Michaël Van Canneyt
af88e5f317 * Apply Merge request !468 (use JPEG out_color_space)
(cherry picked from commit 30e7bfb666)
2023-12-18 16:30:12 +01:00
Michaël Van Canneyt
facd94642c YCbCr Colorspace support, Tiff ResolutionXY div by zero test (MR 463)
(cherry picked from commit 2c3ab429e8)
2023-12-18 16:30:05 +01:00
Massimo Magnano
3e74288472 Tiff ReverseEndian typing error, methods useful for derived classes
(cherry picked from commit 8b82074d65)
2023-12-18 16:29:55 +01:00
Michaël Van Canneyt
2b8ca38e79 * Fix 32-bit compilation
(cherry picked from commit ba534b1192)
2023-12-18 16:29:41 +01:00
Massimo Magnano
70073a4848 AnsiString
(cherry picked from commit 5e29835b00751178ef4ecbd85c48552bb93a369a)
(cherry picked from commit 08021aa714)
2023-12-18 16:29:26 +01:00
Massimo Magnano
1847d1ddf0 fcl-image: added BigTif and LabA color support
(cherry picked from commit 8c2bb60cc8dfd39fa6aeeece491c424780e79fe4)
(cherry picked from commit d24b89fbd3)
2023-12-18 16:29:19 +01:00
Massimo Magnano
e08380edd5 Replace fptiffcmn.pas
(cherry picked from commit 3c5af490b883a320725e4cdc5cf1f6615fc70a0d)
(cherry picked from commit 52e9657fd5)
2023-12-18 16:29:09 +01:00
marcoonthegit
df98ae75d6 * 3.2.x doesn't like [] for as default for dynamic array parameters. 2023-12-18 16:07:10 +01:00
Pierre Muller
982546d5b0 Add new FcConfigGetFilename function
(cherry picked from commit 9070b3647a)
2023-12-18 15:58:31 +01:00
marcoonthegit
845259554c * a manual fix up after a a botched merge. 2023-12-18 15:58:02 +01:00
Pierre Muller
7801779afd Extend support to all BSD systems for libfontconfig and fcl-pdf packages
(cherry picked from commit 3c2fa91c75)
2023-12-18 15:52:40 +01:00
Michaël Van Canneyt
3619317e41 * Add fontmapper by Anton Kavalenka. Fixes issue #39363
(cherry picked from commit 354ae2344e)
2023-12-18 15:41:36 +01:00
Michaël Van Canneyt
bf7e518bf6 * Add miter/penstyle, allow font in floating point size, allow simulation of italic/bold. Patch by Joeny Ang. Fixes issue #39836
(cherry picked from commit e1715d6d1a)
2023-12-18 15:32:46 +01:00
Michaël Van Canneyt
59d978e140 * Use SinCos where possible. Fixes issue #40420
(cherry picked from commit 0d37b3c6ec)
2023-12-18 15:32:29 +01:00
Massimo Magnano
718362cbd7 FPReferenceWhiteGet call itself, stackoverflow solved
(cherry picked from commit e83b557a0a)
2023-12-18 14:46:48 +01:00
Michaël Van Canneyt
fcee5d53f7 * Changed illuminant to limited string
(cherry picked from commit 53315ded97)
2023-12-18 14:46:40 +01:00
Massimo Magnano
f7d37b2bcb fcl-image: Added Color Space support
(cherry picked from commit 9402b492c6)
2023-12-18 14:46:35 +01:00
Massimo Magnano
0fd50ac66e Writer don't use Reader but common files; Some method to protected
(cherry picked from commit e90015fa68)
2023-12-18 14:46:26 +01:00
Massimo Magnano
987d87569a fcl-image : Resolution support on Reader/Writer
(cherry picked from commit bc15500999)
2023-12-18 14:46:17 +01:00
marcoonthegit
e62f388aab Sin/cos combinations to math.sincos. resolves gitlab #40288 by Alexey T minus the Amiga parts.
(cherry picked from commit fa44cd9da6)
2023-12-18 14:46:10 +01:00
Massimo Magnano
118dba394b fcl-image JPEG reader/writer, PSD reader
fcl-image JPEG reader - procedure inside InternalRead moved to protected virtual methods
fcl-image JPEG writer - procedure inside InternalWrite moved to protected virtual methods
fcl-image PSD reader - code fixes for reading palettes, added Read of Image Resources Section

(cherry picked from commit fc714078a9)
2023-12-18 14:46:01 +01:00
Michaël Van Canneyt
95cb0b81f3 * Fix compilation on windows
(cherry picked from commit e1befb165e)
2023-12-18 14:45:51 +01:00
Michaël Van Canneyt
e78999e910 * Correct default extension logic.
(cherry picked from commit ca13ca2089)
2023-12-18 14:45:41 +01:00
Michaël Van Canneyt
952b831580 * Setting empty should also work.
(cherry picked from commit 930e49590c)
2023-12-18 14:45:31 +01:00
Michaël Van Canneyt
8095aa6ac4 * Fix typo
(cherry picked from commit 45d00abddc)
2023-12-18 14:45:23 +01:00
Michaël Van Canneyt
50e4e53cf2 * Small fix by Alexey Torgashin. Fixes issue #40335
(cherry picked from commit 9cc08940dd)
2023-12-18 14:45:17 +01:00
Michaël Van Canneyt
4954eee451 * Make compression struct accessible to descendants. Fixes issue #40327
(cherry picked from commit ab3916b0f8)
2023-12-18 14:45:09 +01:00
Michaël Van Canneyt
b5be037b3e * Correct filename extensions for qoi. Fixes issue #40314
(cherry picked from commit 0f5c126a45)
2023-12-18 14:45:00 +01:00
Michael VAN CANNEYT
1eff5a706a * Fix wrong EOL
(cherry picked from commit 2e4371e5a0)
2023-12-18 14:44:18 +01:00
Michaël Van Canneyt
906835af00 * QOI format read/write implementation by Marģers
(cherry picked from commit 62c9e19f39)
2023-12-18 14:44:11 +01:00
florian
35d3a75ee4 * run fcl-image tests with regression tests
(cherry picked from commit 0f14bd45b1)
2023-12-18 14:44:03 +01:00
florian
ff91905259 * consistent naming of directories
(cherry picked from commit ef923ba142)
2023-12-18 14:43:51 +01:00
Michaël Van Canneyt
3e95ee8fc7 * Remove debug writelns
(cherry picked from commit 88b5728d94)
2023-12-18 14:41:01 +01:00
Michaël Van Canneyt
2c4d63381d * Resolve Font Descriptors and ExtGSTate objects
(cherry picked from commit 216183c31f)
2023-12-18 14:40:52 +01:00
Michaël Van Canneyt
76db9359a8 * Fix memleak in case of chained stream page contents
(cherry picked from commit 2e438c4981)
2023-12-18 14:40:45 +01:00
Michaël Van Canneyt
1eee31c04f * Fix rare case of stream contents not being read correctly
(cherry picked from commit 0fac221a61)
2023-12-18 14:40:36 +01:00
Michaël Van Canneyt
601195f46c * Add commands unit
(cherry picked from commit 5de228eeea)
2023-12-18 14:40:29 +01:00
Michaël Van Canneyt
a93dc6063d * Refactor commands, add commands in preparation of renderer
(cherry picked from commit 49809c5f42)
2023-12-18 14:40:21 +01:00
Michaël Van Canneyt
ccfc68fc70 * Initialize result string
(cherry picked from commit b9aeeaa6e3)
2023-12-18 14:40:07 +01:00
mattias
ffa2906b65 fcl-pdf: fixed dump hexstring
(cherry picked from commit 8f32a8190e)
2023-12-18 14:40:00 +01:00
mattias
2462807cef fcl-pdf: less hints
(cherry picked from commit 3ef91538f9)
2023-12-18 14:39:52 +01:00
mattias
38e0615ba7 fcl-pdf: less hints
(cherry picked from commit 51fa67c234)
2023-12-18 14:39:45 +01:00
mattias
49f80a5473 fcl-pdf: fixed example pdfdump
(cherry picked from commit 63bf4dacbf)
2023-12-18 14:39:37 +01:00
Michaël Van Canneyt
b7458a92d4 * PDF internal link objects, example adapted to show possibility. Fixes issue #40318
(cherry picked from commit 90b7c8ace7)
2023-12-18 14:38:52 +01:00
marcoonthegit
993bc56a7f * some string parameters made const in fppdf units.
Resolves #40044 by Alexey T.

 Note that AddIntArray was not changed, the variable is changed inside the method

(cherry picked from commit a74bee2cb1)
2023-12-18 14:38:45 +01:00
marcoonthegit
1f0dfe6319 * fix headers other packages up to (but not including) fcl-res (which are generated files) bug #39481
(cherry picked from commit 476a4f0f91)
2023-12-18 14:01:50 +01:00
Michaël Van Canneyt
79c4e9a0a4 * Patch from Christian Vitroler to fix loading UTF8 data. Fixes issue #40543
(cherry picked from commit 607cd2947d)
2023-12-18 13:47:56 +01:00
Michaël Van Canneyt
1319a8f7e2 * Unprepare on commit/rollback
(cherry picked from commit c120a13af8)
2023-12-18 13:47:29 +01:00
Michaël Van Canneyt
bad6739fd9 * Allow descendents to override methods to implement their own parsing. Fixes issue #40063
(cherry picked from commit c0354d0975)
2023-12-18 13:46:27 +01:00
Ondrej Pokorny
2dd77e5a26 TSQLConnection.DoInternalDisconnect: safe with Assigned(FStatements) - like TDatabase.CloseDataSets etc.
(cherry picked from commit 8bd9651abd)
2023-12-18 13:43:46 +01:00