Commit graph

58 commits

Author SHA1 Message Date
Peter Goodhall
a015061f95 Correct FPDF font path definition in Labels controller
Updated the FPDF_FONTPATH definition to remove the 'unifont/' subdirectory, as AddFont() automatically appends it. This ensures fonts are loaded correctly when generating PDFs.
2025-11-22 17:44:36 +00:00
Peter Goodhall
c3ade210cb Improve error handling in label generation
Adds logging of actual errors during label generation for better debugging. Updates error messages to include the specific exception message, and ensures FPDF_FONTPATH is only defined if not already set.
2025-11-22 17:44:03 +00:00
Peter Goodhall
a2255a081c Define FPDF font path before PDF creation
Added a definition for FPDF_FONTPATH to ensure the correct font directory is set before creating the PDF object in the Labels controller.
2025-11-22 17:42:18 +00:00
Peter Goodhall
4282b81172 Add bold callsign styling to label PDF output
Introduces Add_Label_With_Bold_Callsign to render the callsign in bold and larger font on label PDFs. Updates font path to use unifont, adds DejaVuSans-Bold font files, and modifies label generation to use the new method for improved visual emphasis of callsigns.
2025-11-22 17:17:11 +00:00
Alessio Caiazza
cb85ad2144
Print activator references on QSO labels 2024-04-15 21:50:27 +02:00
phl0
31fe461e4a
Use submode on labels if set 2024-04-01 09:57:48 +02:00
int2001
0e46192055
Changed printed text to "via [via]" from " | send via [via]" 2023-10-26 11:29:58 +00:00
int2001
8e6c4733d9
Added "QSL via" also to LBA 2023-10-26 09:37:25 +00:00
int2001
613d17642c
Added "Via" as option for labels 2023-10-26 09:10:38 +00:00
Andreas
bcff9dd102 Added support for grid when printing from the advanced logbook 2023-08-05 11:42:39 +02:00
int2001
4ec2a03c33
Added optional Grid and Call-Line to label 2023-08-05 05:49:12 +00:00
int2001
1afb72063a
Changed Header of label to DD.MM.YY UTC 2023-08-04 05:35:43 +00:00
int2001
14cff47f04
Added inches to papertype / extended logic for inches 2023-08-04 04:45:10 +00:00
int2001
f5baeb8fa2
fixed "no active label"-detection 2023-08-03 11:34:29 +00:00
int2001
2824f31ac6
Disabled "use for print" if no paper given, catching error if those label was active 2023-08-03 08:55:16 +00:00
int2001
85a2299322
Added warning if no paper_type is assigned 2023-08-03 06:53:22 +00:00
int2001
262cca5465
Added orientation and usage count to view/controller/model 2023-08-03 06:15:51 +00:00
int2001
6d2c4b1b76
Switched from paper_name to paper_id 2023-08-03 04:37:25 +00:00
Andreas
d1d602a941 Added error message when saving or editing a paper type with duplicate name 2023-08-02 19:10:35 +02:00
int2001
f2272e9fb5
1st version with orientation 2023-08-02 10:20:38 +00:00
int2001
4a19e00965
Moved from paper_id to paper_name 2023-08-02 09:46:19 +00:00
int2001
ed6ca09b67
Enhances PDFLabel (and some parts of label-controller/model) to custom-papertypes. UNTESTED 2023-08-02 09:34:32 +00:00
Andreas
d76e7e74d5 [Labels] Added custom papertypes to create label 2023-08-02 10:34:19 +02:00
Andreas
a043060a8c [Labels] Added papertypes to dropdown for editing labels 2023-08-02 10:17:22 +02:00
Andreas
206c10f80a [Labels] Added edit/delete paper type 2023-08-02 10:05:24 +02:00
Andreas
b419e804bb Added updated controller 2023-08-01 18:59:05 +02:00
Andreas
e3789ae1be [Advanced Logbook] Added dialog to set label offset when printing labels 2023-08-01 10:30:05 +02:00
Andreas Kristiansen
61b55a2e3d
Merge branch 'dev' into secfix 2023-07-30 21:40:48 +02:00
int2001
e957402b37
redirect if one wants to try print labels from other station 2023-07-30 17:25:52 +00:00
Andreas
4387a5b2ed Fixed error when sat_mode is null 2023-07-30 09:59:38 +02:00
int2001
33d469f4b8
Fixed detection of new QSO 2023-07-30 06:50:08 +00:00
int2001
be2478a3ae
Respect different BAND_RX only when working SAT 2023-07-30 06:18:36 +00:00
int2001
52b3d3585b
Fixing of SATMode / BandRX 2023-07-30 06:08:01 +00:00
int2001
b5d73e50c3
Fixed start_at 2023-07-30 05:46:25 +00:00
Andreas
2543a721ad [Labels] Added support for label offset in backend 2023-07-29 20:49:45 +02:00
Andreas
aa051f7ffd [Labels] Added form to choose which label to start at 2023-07-29 20:02:18 +02:00
int2001
2b29c6cbe4
Shortened Date / see https://github.com/magicbug/Cloudlog/discussions/2164#discussioncomment-6575981 2023-07-28 13:13:21 +00:00
int2001
b804a41c41
SatMode label fix 2023-07-28 10:37:49 +00:00
phl0
00c98609fd
Minor changes to output 2023-07-28 12:19:01 +02:00
int2001
d0c55fe628
Time-Formatter included 2023-07-28 10:13:15 +00:00
int2001
c4df2d77d0
flip PSE/TNX 2023-07-28 09:31:39 +00:00
int2001
2e1329a159
Added TNX/PSE to label 2023-07-28 09:24:01 +00:00
int2001
77821a49ff
Split labels when SAT/Non-SAT 2023-07-28 08:28:17 +00:00
int2001
4bb448d369
Removed font from settings. Fixt it to DejaVuSans 2023-07-28 07:51:52 +00:00
int2001
71d861f8b7
Take care of max-lbl-count 2023-07-28 06:49:50 +00:00
int2001
4752b70649
SAT-Addon 2023-07-28 06:36:57 +00:00
int2001
19209a6fc4
Multiple QSOs 2023-07-28 06:15:18 +00:00
int2001
fa8eefd850
ASCII-Tables first approach 2023-07-28 06:04:16 +00:00
Andreas
4254a37642 [Advanced Logbook] Added some error handling when printing labels 2023-06-28 12:24:38 +02:00
Andreas
8dd3f290a7 [Advanced Logbook] Now can print label from advanced logbook 2023-06-27 15:03:12 +02:00