Commit Graph

38 Commits

Author SHA1 Message Date
libretroadmin e24d62715e (font_renderer) Cleanups 2022-11-15 16:03:01 +01:00
libretroadmin cf12a5e7e7 (Font drivers) Uniformity in naming conventions 2022-06-26 18:01:43 +02:00
jdgleaver fc05c0805b (freetype/stb_unicode/bitmapfont) Prevent texture bleed when rendering text at non-integer scales 2021-04-15 17:24:32 +01:00
twinaphex c744baeb89 Add ctype variants to stdstring and use it in RA 2020-09-27 22:15:32 +02:00
twinaphex f09df7c6e3 Reorder structs, alignment 2020-08-15 19:43:17 +02:00
jdgleaver 73bcd7a692 Enable correct vertical alignment of text (+ font rendering fixes) 2020-03-31 16:55:22 +01:00
Twinaphex 714e3ddc2a (SBT font driver) Check first if font files exist before
we try to open them
2019-08-24 03:30:32 +02:00
twinaphex 8784d21c74 (STB) WinRT/UWP can't deal with relative paths, so don't look for
osd-font.ttf
2019-04-28 07:24:34 +02:00
twinaphex 2c47d571aa Use path_is_valid instead of filestream_exists when we only
need to know if a file exists on the filesystem
2019-04-27 14:01:50 +02:00
orbea d40da6aca3 Fix c89 'keyword is hidden by macro definition' with clang. 2018-12-16 08:01:03 -08:00
twinaphex c7c4b723d6 Move path_file_exists to filestream and do away with filestream
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex a153d600e4 (font_renderer) Cleanups 2017-01-10 21:50:59 +01:00
twinaphex ad5d78b63e Define this too 2016-11-05 20:50:13 +01:00
twinaphex 37ff8cb66f Prevent stb_truetype from being included twice for Griffin 2016-11-05 20:45:23 +01:00
aliaspider e3bfb617e4 (font driver) add a .dirty flag to struct font_atlas. 2016-10-21 17:25:21 +01:00
frangarcj 608d13c321 (VITA) Add some default fonts 2016-09-20 10:58:14 +02:00
twinaphex 467451fccc Cleanup more header includes 2016-09-01 18:18:55 +02:00
twinaphex 65d5ebc2bb Fix some dereference after null check warnings 2016-06-02 20:40:51 +02:00
twinaphex e41127459e Rename 'filestream' functions 2016-03-24 04:09:25 +01:00
twinaphex 3720cf87e7 Rename retro_file to file_stream 2016-03-20 16:29:14 +01:00
twinaphex 6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
twinaphex f8b866c8c1 Combine file_ops.c and content.c 2016-02-15 21:49:29 +01:00
twinaphex a7a8ff387a (drivers_font_renderer/stb.c) Use retro_read_file 2016-01-30 04:00:46 +01:00
twinaphex 54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
twinaphex df1c6344be Merge font_renderer_driver.c and font_driver.c 2015-12-05 12:07:22 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex 11a7d2d772 Cleanups 2015-10-31 21:43:30 +01:00
twinaphex a73f10f124 (MSVC) Buildfix 2015-09-23 14:02:38 +02:00
twinaphex aed85c1617 (C89_BUILD) Some buildfixes 2015-09-18 06:51:17 +02:00
Jean-André Santoni ecc49c84a8 Make stb font_size similar to our other font renderers. Fixes #2047 2015-08-18 21:04:06 +02:00
neville afc09848b4 Add two fallback fonts for Apple 2015-07-19 23:29:27 +02:00
Higor Eurípedes ab55ed7908 (stb.c) Fix growth conditional and limit growth to 2048x2048 2015-07-17 13:38:24 -03:00
twinaphex f7a443b4e9 (Android) (Nvidia Shield Portable) Some kind of edge case happens
on Shield Portable that causes it to keep allocating for a long
time until it simply fails and falls back to the bitmap font
renderer. Currently seems to be happening on character 160.
Quick hack until we fix the real underlying issue.
2015-07-17 11:03:15 +02:00
Higor Eurípedes e4da044c99 (stb.c) Resize atlas when printable characters dont fit 2015-07-16 11:37:08 -03:00
Higor Eurípedes d10bb24328 (stb.c) Add CutiveMono.ttf path and replace DroidSansFallback with DroidSans 2015-07-16 11:19:06 -03:00
Higor Eurípedes 09c67e3cf9 Get rid of warnings and declare STBTT_STATIC 2015-07-14 11:47:09 -03:00
Higor Eurípedes 911dc7f083 Add stb_truetype based font backend 2015-07-14 10:55:14 -03:00