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
twinaphex
aca8970e79
CXX_BUILD fixes
2016-10-21 19:14:48 +02:00
twinaphex
56d427df65
C89_BUILD fixes
2016-10-21 19:12:06 +02:00
aliaspider
28c2dcf253
(font driver) update freetype with unicode support (up to U+FFFF) using
...
a dynamic atlas.
2016-10-21 17:31:53 +01:00
aliaspider
6f81a19f60
(GL) update font driver to support a dynamic atlas.
2016-10-21 17:28:44 +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
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