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
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
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
7a0100e35a
printer: Switch to static freetype on Windows, finally fixes #2221
2023-07-15 22:54:33 -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
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
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
David Hrdlička
e60af6c29d
Clean up plat.h a bit
2022-04-20 01:03:39 +02:00
Alexander Babikov
4bba7f8f1d
Define the FreeType library name on macOS
2022-04-14 07:10:17 +05:00
Jasmine Iwanek
e188137b96
src/printer
2022-03-13 09:51:07 -04:00
Jasmine Iwanek
51532f7aaa
lpt_device_t.internal_name added
2022-03-13 08:58:31 -04:00
Jasmine Iwanek
4674756664
More newline and whitespace cleanups
2022-02-20 16:26:40 -05:00
Alexander Babikov
8cf53950aa
Fix character encoding errors in comments
2022-02-13 20:23:10 +05:00
RichardG867
79d974ee7f
Revert to old freetype DLL name
2021-11-14 22:19:15 -03:00
RichardG867
e6fddf9823
Flip freetype back to the old name on Windows to ease upgrading (at least on 32-bit builds)
2021-11-12 21:54:05 -03:00
RichardG867
02df33d1aa
Change some dynamically loaded library names to reflect the new build infrastructure
2021-11-08 23:54:41 -03:00
RichardG867
c39587cfab
Remove device names from LPT table
2021-07-08 22:55:56 -03:00
Alexander Babikov
2fe162dacc
Fix various bugs related to string handling in printer code:
...
generic text printer saving output files in the working dir instead of printer subdir;
generic ESC/P printer looking up font files in the wrong directory;
generic PostScript printer saving output PDFs with a double ".ps.pdf" extension.
2021-05-26 17:57:37 +05:00
David Hrdlička
dfbbe08a07
rewrite the emulator to use UTF-8 internally
2021-03-30 09:46:49 +02:00
David Hrdlička
10cc122925
fix Clang/WinSDK warnings
2021-03-21 03:28:37 +01:00
OBattler
ad1aa69299
Brought the timeouts of the ESC/P and text printers in line with the PostScript printer.
2020-12-23 21:52:56 +01:00
RichardG867
56e486b699
Improve printer library dependency errors
2020-06-18 21:31:56 -03:00
David Hrdlička
7d2f9189d3
win: Re-number string table entries
2020-04-26 21:03:31 +02:00
David Hrdlička
a505894a10
Move all include files to src/include
...
- 86Box's own headers go to /86box
- munt's public interface goes to /mt32emu
- all slirp headers go to /slirp (might want to consider using only its public inteface)
- single file headers from other projects go in include root
2020-03-29 19:53:29 +02:00
OBattler
132d1f092b
Merge branch 'rawinput' of https://github.com/driver1998/86Box into driver1998-rawinput
2020-03-25 02:29:20 +01:00
Daniel Gurney
0c509fd551
Remove version tree-wide
2020-03-25 00:46:02 +02:00
OBattler
490c04fcae
Current WIP code.
2020-02-29 19:12:23 +01:00
driver1998
b35f5628be
prt_escp: fix return value of read_ctrl
2020-02-27 01:58:00 +08:00
David Hrdlička
a575bd7e8b
fix more issues reported by coverity
2020-01-15 18:48:22 +01:00