Commit Graph

45 Commits

Author SHA1 Message Date
twinaphex
88c2ec5819 Prevent this error (caught with SANITIZER=undefined) 2016-09-18 22:39:18 +02:00
twinaphex
606e37fcbd Cleanups 2016-09-11 15:07:07 +02:00
twinaphex
467451fccc Cleanup more header includes 2016-09-01 18:18:55 +02:00
twinaphex
a608f2350a (Freetype) Add another fallback font 2016-09-01 02:09:15 +02:00
twinaphex
65d5ebc2bb Fix some dereference after null check warnings 2016-06-02 20:40:51 +02:00
Twinaphex
e69c43f2a8 C89_BUILD fixes 2016-04-27 23:03:49 +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
b4e872476b Prevent some more crashes 2016-02-29 02:09:10 +01:00
Twinaphex
7e641b7274 (OSX) Silence deprecation warnings 2016-02-26 13:44:45 +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
6141f00f70 (OSX) Some C89_BUILD fixes 2015-10-12 21:02:07 +02:00
twinaphex
02a5d738fe Static code analysis cleanups 2015-09-28 23:00:22 +02:00
twinaphex
a73f10f124 (MSVC) Buildfix 2015-09-23 14:02:38 +02:00
twinaphex
951a8903c3 (query.c) Use strlcpy
(font_renderer/freetype) Add Vera.ttf fallback
2015-09-21 16:29:05 +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
twinaphex
80c498c38c (Freetype) Move variables to top 2015-07-14 00:35:21 +02:00
Alcaro
f323b3ef8c C source isn't executable. Nor is that bitmap. 2015-07-12 12:51:52 +02:00
Alcaro
febcbc5ce4 C89 cleanups part 2 2015-06-26 17:48:43 +02:00
Twinaphex
e879d2de25 (CoreText) Increase font atlas size so it supports diacritics too 2015-06-26 10:57:19 +02:00
Jean-André Santoni
f8e1d026c5 (Freetype) Increase the font atlas size to support diacritics 2015-06-26 15:43:00 +07:00
natinusala
9b276d80d2 Added line_height for freetype and cleaned up comments 2015-05-30 15:41:47 +02:00
Nathan SALAUN
b756111aac Added the get_line_height to font_renderer_driver_t and a first implementation of it in gl_raster (\n) and bitmapfont 2015-05-27 12:20:31 +02:00
twinaphex
20b5fb056f Change signature returntype of get_glyph to const struct font_glyph * 2015-04-22 23:33:43 +02:00
neville
ddb5aab3ed (OSX PPC) Start making things more backwards compatible with OSX 10.4 - avoid CGFloat, NSUinteger, NSInteger, use <AvailabilityMacros.h> instead of <Availability.h>, etc. 2015-03-30 17:10:31 +02:00
twinaphex
61962e1018 (CoreText) Update 2015-03-30 00:57:32 +02:00
twinaphex
2c555082ee D3D and GL now use the same font driver interface 2015-03-30 00:55:39 +02:00
twinaphex
f3e5ed9854 Change signature of get_glyph 2015-03-29 22:36:30 +02:00
Higor Eurípedes
30b766bba3 (griffin) Fix font renderer builds 2015-02-20 23:35:39 -03:00
twinaphex
5eed4fd897 (CoreText) Fix Y coordinate draw offset 2015-02-10 17:48:51 +01:00
twinaphex
8111567d3e Move some files around 2015-01-12 23:34:10 +01:00