Commit Graph

138 Commits

Author SHA1 Message Date
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