Commit Graph

101 Commits

Author SHA1 Message Date
twinaphex
86410cc3b0 (CoreText) Buildfix 2019-08-24 16:57:23 +02:00
twinaphex
02dccb0396 (OSX) Buildfix for C89_BUILD 2019-08-24 08:51:33 +02:00
twinaphex
b9d7be372f (CoreText) Check first if path is valid 2019-08-24 03:35:23 +02: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
0dc73f2c8e Prevent calling FT_New_Face if path is not valid 2019-08-24 03:25:46 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +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
Huw Pascoe
fed06044c4 silence warnings 2019-04-12 17:32:11 +01:00
jdgleaver
136762f6a2 Fix text display issues when using Japanese (and other unicode-dependent language) text with stb_unicode 2019-04-09 15:51:33 +01:00
jdgleaver
38d2febba5 Fix text alignment when using stb_unicode 2019-04-08 17:37:23 +01:00
orbea
e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
krzys-h
ced5af9314 (UWP) Don't try to access C:\Windows\Fonts
It's going to fail anyway
2019-01-06 15:46:03 +01:00
orbea
d40da6aca3 Fix c89 'keyword is hidden by macro definition' with clang. 2018-12-16 08:01:03 -08:00
twinaphex
0d39701145 Get rid of double void argument 2018-07-14 00:54:14 +02:00
twinaphex
600c2c1ca1 Simplify menu_display_font 2018-07-14 00:39:46 +02:00
twinaphex
4758caea74 Commenting this out for now - this causes crashes with
toggling fullscreen in threaded video mode with the GL driver
2018-07-14 00:21:27 +02:00
Rob Loach
e4fe33f437
freetype: Add comment about assets:// 2018-06-24 12:02:28 -04:00
Rob Loach
8a96062ed0
freetype: Rename to osd-font.tff 2018-06-24 11:19:40 -04:00
Rob Loach
da6b7987f1
freetype: Get DejaVuSansMono.ttf from the assets directory 2018-06-24 11:00:21 -04: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
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Brad Parker
12ae59a197 freetype: better way to determine max_width/height, fixes buffer overflow with alternate OSD fonts 2017-07-22 22:21:26 -04:00
twinaphex
43c42c28e6 Cleanup font_renderer_create_atlas 2017-07-22 18:46:33 +01:00
aliaspider
db490a69a3 (WiiU) add a menu display driver. enable MATERIALUI and XMB. 2017-05-22 01:45:40 +01:00
aliaspider
b17e76d8b7 (WiiU) add freetype and stb font support.
freetype disabled by default due to requiring an external library.
2017-05-21 04:22:32 +01:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
Jean-André Santoni
b700a4e77b (CoreText) Fix loading fonts from a path 2017-02-20 23:11:40 +01:00
twinaphex
3cfaf47637 Avoid 'variable may be used uninitialized in this function' warnings 2017-02-19 18:59:02 +01:00
aliaspider
0d945a81d7 stb_unicode: use the same unicode handling code as the freetype
renderer, which supports codepoints > 0xFFFF.
2017-02-19 14:40:05 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
52ad8fb125 (gfx/drivers_font) Style nits 2017-01-12 10:26:12 +01:00
twinaphex
a153d600e4 (font_renderer) Cleanups 2017-01-10 21:50:59 +01:00
twinaphex
a911c24ba3 Remove runloop.h header includes 2016-12-02 06:26:41 +01:00
Alcaro
506c14dcc4 No need for inconsistency, let's just not have this at all. 2016-11-06 12:09:08 +01:00
twinaphex
89ed02cd01 (stb_unicode.c) Style nits 2016-11-06 11:44:21 +01:00
twinaphex
f7378be00f Fix C89_BUILD warnings 2016-11-06 11:42:35 +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
Francisco José García García
14c9eb47c4 (VITA) Add uft8 support 2016-11-05 16:21:21 +01:00
Twinaphex
103a22b3db (CoreText) Preliminary font work/updating 2016-11-04 16:45:09 +01:00
aliaspider
ca2b9cb97c freetype: fix invalid write. 2016-10-24 20:25:21 +01:00
Twinaphex
df646ae32d Implement get_line_height function for OSX/iOS font renderer 2016-10-24 08:26:55 +02:00
twinaphex
7a18b053c4 C89_BUILD fixes 2016-10-24 05:57:13 +02:00
aliaspider
c4d6a89067 freetype font renderer: less memory usage and full unicode support. 2016-10-23 18:14:07 +01:00
aliaspider
1a60b77749 remove unused variable. 2016-10-21 20:57:37 +01:00
aliaspider
150a0138d5 freetype.c: fix some memory corruption issues. 2016-10-21 20:55:36 +01:00
twinaphex
0ef96ddbbc Try to avoid memset in font_renderer_update_atlas 2016-10-21 19:25:37 +02:00
Twinaphex
6a404b0c42 Prevent warning with CoreText font driver 2016-10-21 19:15:57 +02:00