23 Commits

Author SHA1 Message Date
Jay McCarthy
1f788543e7 Adding CoreText font driver for iOS and OS X
The font path settings should be changed to support entering a font
name on these platforms and potentially working with the front-end to
get a list of possible names.
2014-10-18 20:20:55 -04:00
Twinaphex
4fb4ad8a1e (fonts.c) Fix 'declaration shadows a global variable' warning 2014-10-14 18:28:22 +02:00
twinaphex
e0f1696b04 (freetype) refactor freetype.c 2014-10-01 15:51:23 +02:00
twinaphex
6200641ccf Take out DONT_HAVE_BITMAPFONTS 2014-09-25 06:54:40 +02:00
twinaphex
6a3af98df6 Style/indenting nits 2014-09-09 06:59:17 +02:00
Themaister
614b866f57 Rewrite bitmapfont to new interface. 2014-06-08 14:08:26 +02:00
Themaister
8ee747a12d Blit fonts to full viewport. 2014-06-08 14:08:26 +02:00
Themaister
e545d695ec Begin big rewrite of GL/raster font rendering path. 2014-06-08 14:08:26 +02:00
Higor Eurípedes
b719c98db6 (griffin.c) Fix build when freetype2 support is enabled
This commit fixes build issues for frontends that wish to use freetype2
or that do not want to use the built-in bitmap font:

* Having HAVE_FREETYPE without DONT_HAVE_BITMAPFONT makes griffin.c
  include both freetype.c and bitmapfont.c resulting in a redefinition
  of 'struct font_renderer' (freetype.c:25 and bitmapfont.c:24).

* Having both HAVE_FREETYPE and DONT_HAVE_BITMAPFONT resulted in linkage
  problems because griffin.c does not include fonts.c in this case and
  thus font_renderer_create_default() implementation is missing. If
  fonts.c is included, the linker complains about undefined reference to
  bitmap_font_renderer in fonts.c:27.
2014-02-05 12:30:55 -03:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +02:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
twinaphex
a7a901962f (PS3) Works again on PS3 2012-12-15 00:17:43 +01:00
Themaister
beca1c44f3 Move all font stuff to gfx/fonts.
Rename stuff so griffin doesn't break.
2012-12-15 00:27:30 +01:00
twinaphex
fcb31db218 (PSFont) Add PS Font renderer for font abstraction interface 2012-12-14 22:35:47 +01:00
Themaister
8501c404f6 Fix CXX_BUILD. 2012-12-14 22:33:04 +01:00
Themaister
7d4278a29b Add gfx/fonts/fonts.c. 2012-12-14 20:26:40 +01:00
Themaister
5700febb2c Refactor font renderering.
Virtualize for multiple backends, and name files more sanely.
2012-12-14 20:25:40 +01:00
Themaister
047637dc24 Don't segfault in font_renderer_free.
handle can be NULL.
2012-12-13 23:15:30 +01:00
Themaister
592cbdfda1 Reuse font deinit code. 2012-12-13 23:14:06 +01:00
Toad King
59bc3d4ba7 add alternative font drawing for GL 2012-12-13 15:12:59 -05:00
Toad King
f21371f166 reuse font code for Raspberry Pi graphics core
also move bcm_host_init() to graphics core
2012-06-19 12:41:06 -04:00
Themaister
ca0a5b9f76 Move font stuff to gfx/fonts. 2012-05-27 02:04:50 +02:00