Samuel Gomes
3b1ca3a386
Fix fonts getting vertically misaligned
2023-06-19 07:06:49 +05:30
Samuel Gomes
cee04c3728
Mono & AA gyph metrics are now tracked separately
2023-05-18 03:19:03 +05:30
Samuel Gomes
290081ddb6
Use LONG array instead of INTEGER
2023-05-08 01:11:01 +05:30
Samuel Gomes
60a448fb54
Add _UCHARPOS() to get individual char pixel position
2023-05-07 22:12:47 +05:30
Samuel Gomes
d1ca9d75f3
Move common validations into macros
2023-04-30 01:50:35 +05:30
Samuel Gomes
f1bb16a6fe
Changes per discussion in #335
2023-04-30 00:27:34 +05:30
Samuel Gomes
49fd18afab
Update GetStringPixelWidth() to return more accurate pixel length
2023-04-28 15:04:55 +05:30
Samuel Gomes
d74471b569
Fix RenderBitmap() bug
2023-04-28 00:53:45 +05:30
Samuel Gomes
97ad4d7134
Remove static variables
2023-04-28 00:35:47 +05:30
Samuel Gomes
e49eb79baa
Update comments
2023-04-27 23:13:54 +05:30
Samuel Gomes
4a6fb37a88
Implement all _PRINTMODEs for _UPRINTSTRING
2023-04-27 22:30:55 +05:30
Samuel Gomes
4fc1905809
Replace fast_boxfill() with qb32_boxfill() in sub__UPrintString()
2023-04-27 12:41:20 +05:30
Samuel Gomes
9ac4107d71
Implement _PRINTMODE 1 & 3
2023-04-27 08:45:25 +05:30
Samuel Gomes
3dd439e625
Change function names
2023-04-26 22:36:24 +05:30
Samuel Gomes
2d650cf1fe
Fix GetStringPixelWidth()
2023-04-26 21:37:36 +05:30
Samuel Gomes
c033c624ac
Add support for _UPrint*()
2023-04-26 17:36:09 +05:30
Samuel Gomes
bfacbec2b5
Fix RenderBitmapPSetAlpha()
2023-04-26 14:15:45 +05:30
Samuel Gomes
7b6b0b0d42
Implement UPint functions
2023-04-26 13:09:25 +05:30
Samuel Gomes
ac136b7ef7
Simplify rendering code
2023-04-22 13:03:14 +05:30
Samuel Gomes
381b27c38a
Replace sprintf_s with snprintf
2023-04-21 11:02:40 +05:30
Samuel Gomes
4c82a241c1
Add stub for FontLoadFileToMemory()
2023-04-20 09:26:59 +05:30
Samuel Gomes
e4b36ca8ad
Add font load-from-memory support
2023-04-20 09:23:13 +05:30
Samuel Gomes
469d0a11e3
Baseline is now calculated correctly
2023-04-19 19:14:10 +05:30
Samuel Gomes
c28310de38
Fix stub_font.cpp function signatures
2023-04-19 17:02:18 +05:30
Samuel Gomes
618e5117cd
Add FontPrintWidthUTF32() and optimize chrwidth()
2023-04-19 09:30:38 +05:30
Samuel Gomes
492c8d0cf5
Remove unused out_x_pre_increment, out_x_post_increment
2023-04-19 08:39:56 +05:30
Samuel Gomes
ec723ed46b
New FreeType cached font renderer
2023-04-19 07:49:02 +05:30
Samuel Gomes
75ff666213
Add function comments
2023-04-13 04:42:53 +05:30
Samuel Gomes
ac6f6574a1
Update comments
2023-04-11 23:21:47 +05:30
Samuel Gomes
1c505561d6
Implement pending changes in #330
2023-04-09 03:37:44 +05:30
Samuel Gomes
1d6154e95c
Supress GCC warnings (errors on Clang)
2023-04-05 13:45:15 +05:30
Samuel Gomes
d974c0b9a8
Tidy up font code
2023-04-04 17:51:17 +05:30
Samuel Gomes
0581d8dabc
Update stb_image.h to v2.28
2023-03-19 07:21:20 +05:30
Samuel Gomes
009eb67ac7
Update comments
2023-02-13 16:24:11 +05:30
Samuel Gomes
52d168ff00
Update to use #305
2023-02-13 03:52:16 +05:30
Samuel Gomes
68234d4786
Fix ambiguous overload
2023-01-11 22:09:24 +05:30
Samuel Gomes
f0f0a9a420
Overload _LOADIMAGE to allow strings as the 2nd parameter
2023-01-11 16:18:43 +05:30
Samuel Gomes
05392054a4
Image will load in the write page's bpp (if not specified)
2023-01-09 22:33:45 +05:30
Samuel Gomes
00ccc61fcb
Add load from memory feature for images
2023-01-09 13:01:56 +05:30
Samuel Gomes
98e40c173d
Fix common dialogs build.mk bug
2022-10-23 22:44:39 +05:30
Samuel Gomes
327d753206
Move qbs_new_txt_len() declaration to libqb.h
2022-10-23 18:23:35 +05:30
Samuel Gomes
93e58baa1d
Common dialogs support
2022-10-23 12:57:02 +05:30
Samuel Gomes
c0e3f3608c
Add O2 to build.mk
2022-09-18 23:46:54 +05:30
Samuel Gomes
9681aa1d30
Update code to use C++ unordered_map
2022-09-18 00:03:08 +05:30
Samuel Gomes
a100a434e4
Fix #175
2022-09-17 08:53:32 +05:30
Samuel Gomes
26391445ee
Updated comments
2022-08-28 02:16:56 -04:00
Samuel Gomes
124251f8f8
Fixed Linux compile issue - extra space in #include. Doh!
2022-08-28 02:16:56 -04:00
Samuel Gomes
9ed193346a
Update QB64-PE image library to convert images to 8bpp
2022-08-28 02:16:56 -04:00
Samuel Gomes
d3da6da2fa
Simplified image library. Added PCX support using dr_pcx
2022-08-28 02:16:56 -04:00
Matthew Kilgore
437cfc3ab7
Remove old build system
...
Mostly old build scripts and helper files that are now covered by the
Makefile.
A notable deletion is the glew dll and lib files. These are unnecessary
because we compile `glew.c` directly rather than link against the dll or
lib copies we have.
2022-05-19 09:17:13 -04:00
Matthew Kilgore
c1639b3979
Add basic make build system
2022-05-12 00:21:02 -04:00
Matthew Kilgore
55da5f4ce3
Format other various source files
2022-05-06 13:20:30 -04:00
SteveMcNeill
50eb90f885
Update LodePNG library
...
from 2012 version to 2022 version, which has been quite improved and sped up.
2022-05-03 02:33:45 -04:00
FellippeHeitor
e45eed894d
Indentation only.
2021-01-20 22:24:25 -03:00
FellippeHeitor
a75adfe519
Indentation only.
2021-01-20 22:18:08 -03:00
Fellippe Heitor
c22ef3ac96
And clang++ where applicable.
2020-02-20 21:43:23 -03:00
Fellippe Heitor
172583fd17
Replaces g++ with clang for the remaining macOS scripts.
...
If a user has Homebrew installed, calling g++ won't use Apple's Xcode version of the tool, which is required by QB64. This fix continues on with the patch introduced in 4dbdddc89e
.
Extra "osx" references replaced with "macOS", but nothing substantial (almost aesthetic).
2020-02-20 20:52:30 -03:00
Luke Ceddia
1c365c2bb8
Manually apply PR #93 chmod +x .command files
2020-01-02 14:13:56 +11:00
Emmanuel Bourg
6be33c0935
Update NanoJPEG to the version 1.3.5
2018-05-22 21:31:49 +02:00
Luke Ceddia
61cb34f635
Remove some SDL stuff that was dead weight
2018-01-16 20:56:45 +11:00
FellippeHeitor
6dfbeb2419
Disables 256-color image loading again, until a better solution is found.
...
Returns -1 if there's an attempt to load an image in 256-color mode.
2017-10-17 03:08:33 -02:00
FellippeHeitor
13fa2ca4d5
Unnecessary repeated inline functions removed from _loadimage.
2017-09-22 00:29:41 -03:00
FellippeHeitor
5368b9d5d7
Initial attempt to restore _LOADIMAGE's ability to load in 8bit mode.
...
- When mode = 256, _LOADIMAGE will return an 8bit image with the loaded file's colors matching the default palette.
- Slower for bigger images, because of the call to matchcol();
2017-09-21 23:55:01 -03:00
Luke Ceddia
9f7a7a9e79
Tweak image loading code to handle more image types
2016-10-10 23:07:31 +11:00
FellippeHeitor
e26f63f8c1
Fix to PNG import CRC-check returning False failure results sometimes.
...
Fix by Steve McNeill.
2016-03-04 00:17:02 -03:00
Luke Ceddia
976f757c2f
Fix memory leak in _PRINTSTRING
...
FontRenderTextUTF32 now frees the 'render' array, which is allocated for multi-character strings.
2016-01-28 13:58:08 +11:00
Galleon
91e7ace500
(Automated push) Update internal/source/* from qb64.bas
2015-08-02 05:12:44 -07:00