Commit Graph

115 Commits

Author SHA1 Message Date
OBattler
c2df83d4f0 Printers: Fix two recently introduced warnings. 2025-08-04 12:24:11 +02:00
Jasmine Iwanek
b2067d7946 Paper Sizes 2025-08-03 23:26:14 -04:00
Jasmine Iwanek
60d8ea389f Support for printer configuration 2025-08-03 23:19:09 -04:00
OBattler
b9e294b781 Trned the LPT ports into device_t's. 2025-08-02 14:51:28 +02:00
Alexander Babikov
4a2f381579 Add "Printer" to the name of generic ESC/P printer
Fixes broken translations
2025-08-01 03:17:33 +05:00
Cacodemon345
9cad5f501b Timer improvements for emulated printers 2025-07-06 01:23:58 +06:00
Jasmine Iwanek
58aa261273 LPT ECP/EPP support
Co-Authored-By: Miran Grča <oubattler@gmail.com>
2025-06-24 08:18:39 -04:00
Alexander Babikov
5779340e6d ESC/P: Fix a handle leak on reset 2025-06-08 15:37:38 +05:00
OBattler
5c4fcfaf85 ESC/P Printer: No longer assume roms/ is where the binary is, fixes #5221. 2025-02-17 04:49:43 +01:00
Jasmine Iwanek
d00f80d3ce General changes from the obattler_202406 branch
Co-Authored-By: Miran Grča <oubattler@gmail.com>
2025-02-09 02:20:36 -05:00
Jasmine Iwanek
4e6f29a7d5 malloc to calloc 2025-02-01 15:38:36 -05:00
OBattler
c38fc46670 More language fixes and the remaining four languages (Ukrainian, Vietnamese, Simplified Chinese, and Traditional Chinese). 2024-11-19 03:46:03 +01:00
Jasmine Iwanek
f4b63caf0b One line per file in CmakeLists.txt 2024-09-04 18:34:06 -04:00
OBattler
e377e58881 Assorted fixes and Dev branched the Matrox G100 and the PCL printer. 2024-07-26 00:39:11 +02:00
OBattler
3f4df11329 Fixes to the GhostPCL library names on Linux and Mac. 2024-06-22 18:30:20 +02:00
Cacodemon345
a44936f3e1 Add Generic PCL Printer 2024-06-21 15:36:28 +06:00
RichardG867
e3c39170ad Re-enable harfbuzz duplicate symbol workaround for now as my gcc 13 setup triggers it 2024-06-10 19:03:31 -03:00
OBattler
80eedca82a Comment out the workaround for duplicate harfbuzz variales - it appears to no longer be needed. 2024-06-10 03:55:12 +02:00
Miran Grča
29ac8fd28b Fixed line feed in prt_escp.c
Per fix by Patrick-Barry, fixes #4477.
2024-05-22 15:46:53 +02:00
Alexander Babikov
8e06b5449f Overhaul plat_get_string()
Now takes constants with human-readable names instead of
Win32 string table IDs, language.h is no longer needed

ui_msgbox*() no longer accepts string IDs as arguments directly,
plat_get_string() must be explicitly called to retrieve the string
2024-03-20 20:33:28 +05:00
Alexander Babikov
8b4c93fdfe ESC/P: Set draft print quality by default 2023-12-25 17:34:34 +05:00
Alexander Babikov
7ff4fd355f ESC/P: Add handling for a separate italic dot matrix font 2023-12-25 17:34:32 +05:00
Alexander Babikov
a9d96371dc ESC/P: Add workaround for glyphs with negative offsets
Fixes characters disappearing when printed very close to the paper edges
2023-12-25 15:04:28 +05:00
Alexander Babikov
e812b3c3b1 ESC/P: Use the new dot matrix font
Also remove the fallback to Courier as it's no longer needed
2023-12-25 15:04:27 +05:00
Alexander Babikov
bf1f425267 prt_escp.c: Try to use courier.ttf if dotmatrix.ttf is missing 2023-12-19 03:14:45 +05:00
Alexander Babikov
ff446fab9b prt_escp.c: Fall back to roman.ttf instead of dotmatrix.ttf for unhandled typefaces 2023-12-19 03:14:45 +05:00
Jasmine Iwanek
81bb5e564b Better fallthrough annotation macro. 2023-08-09 20:09:36 -04:00
Jasmine Iwanek
d2f42198fd Fix clang build failure 2023-07-26 12:41:18 -04:00
Jasmine Iwanek
998cfe5cc8 Constification 2023-07-25 17:59:24 -04:00
Jasmine Iwanek
db66543959 Apple build fix 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
RichardG867
8ff45f74fd Remove legacy dynamic loading error messages 2023-07-22 18:14:22 -03:00
RichardG867
5ba2ad529d printer: Fix Windows build 2023-07-16 00:01:59 -03:00
RichardG867
7a0100e35a printer: Switch to static freetype on Windows, finally fixes #2221 2023-07-15 22:54:33 -03:00
RichardG867
937b7740f2 printer: Enable 10.x and unversioned ghostscript libraries to be used on Linux, fixes #2996 2023-07-15 22:33:15 -03:00
Jasmine Iwanek
1116aadb6f Another round of sonarlint work 2023-07-04 10:53:44 -04:00
Jasmine Iwanek
ed1b369abd Yet more sonarlint fixes 2023-05-29 06:21:17 -04:00
Jasmine Iwanek
ce451a2bf4 More fixes for sonarcloud findings 2023-05-28 21:02:17 -04:00
cold-brewed
7bc213a954 macOS: Bundle fluidsynth and ghostscript (#3250)
* macOS: Build fixes for fluidsynth and ghostscript to ensure they get detected and bundled. Add required packages for build.

* macOS: Don't link against fluidsynth and only bundle if detected.

---------

Co-authored-by: cold-brewed <cold-brewed@users.noreply.github.com>
2023-04-14 14:48:14 -03:00
Jasmine Iwanek
1860700eab Fix some small issues 2023-01-07 17:02:23 -05:00
Jasmine Iwanek
7ec2a1c148 Use doubles as requested 2022-12-29 21:59:00 -05:00
Jasmine Iwanek
231cadb0a7 Fix Multiplication result converted to larger type from CodeQL 2022-12-23 14:22:17 -05:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
6919451ae4 Fix string offsetting 2022-11-09 23:19:17 -05:00
Jasmine Iwanek
47f6257240 Correct headers for BSD Licensed files 2022-10-29 10:52:49 -04:00
Jasmine Iwanek
f49d3c7458 Correct many file headers to show 86box 2022-10-27 17:08:58 -04:00
Jasmine Iwanek
fab1632cee Fixes almost all the logging options which were previously broken 2022-10-27 11:23:10 -04:00
Jasmine Iwanek
d4c4ef6a5d clang-format in src/printer/ 2022-09-18 17:22:55 -04:00
cold-brewed
5384eb35bb macos: Fix the name of the bundled freetype library 2022-08-27 11:03:45 -04:00