diff options
author | Cédric Krier <cedk@gentoo.org> | 2008-03-30 00:20:07 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2008-03-30 00:20:07 +0000 |
commit | 3efb788c4bcc80464b1b1b91bb343cb7d3e90e17 (patch) | |
tree | 6854431ac24995bb00d862650a9043c93ee5044d /media-sound/audicle/files/audicle-1.0.0.6-font.patch | |
parent | Stable on x86 wrt bug #215047 (diff) | |
download | historical-3efb788c4bcc80464b1b1b91bb343cb7d3e90e17.tar.gz historical-3efb788c4bcc80464b1b1b91bb343cb7d3e90e17.tar.bz2 historical-3efb788c4bcc80464b1b1b91bb343cb7d3e90e17.zip |
New ebuild for bug #144667
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-sound/audicle/files/audicle-1.0.0.6-font.patch')
-rw-r--r-- | media-sound/audicle/files/audicle-1.0.0.6-font.patch | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/media-sound/audicle/files/audicle-1.0.0.6-font.patch b/media-sound/audicle/files/audicle-1.0.0.6-font.patch new file mode 100644 index 000000000000..9e2658df16c3 --- /dev/null +++ b/media-sound/audicle/files/audicle-1.0.0.6-font.patch @@ -0,0 +1,65 @@ +diff -ru audicle-1.0.0.6~/src/audicle_font.cpp audicle-1.0.0.6/src/audicle_font.cpp +--- audicle-1.0.0.6~/src/audicle_font.cpp 2008-03-30 00:29:37.000000000 +0100 ++++ audicle-1.0.0.6/src/audicle_font.cpp 2008-03-30 01:04:46.000000000 +0100 +@@ -201,13 +201,13 @@ + #ifdef __PLATFORM_WIN32__ + char fontpath[] = "C:\\WINDOWS\\FONTS\\"; + #else +-char fontpath[] = "/define/this/directory/"; ++char fontpath[] = "/usr/share/fonts/corefonts/"; + + #endif + #endif + +-char kernedfontfile[] = "FTGL:verdana.TTF"; +-char monospacedfontfile[] = "FTGL:LUCON.TTF"; ++char kernedfontfile[] = "FTGL:verdana.ttf"; ++char monospacedfontfile[] = "FTGL:couri.ttf"; + + + class AudicleFTGLFont : public AudicleFont { +@@ -301,13 +301,11 @@ + #endif + + // we should do a directory scan here... +- AudicleFont::available_fonts().push_back( "FTGL:ARIAL.TTF" ); +- AudicleFont::available_fonts().push_back( "FTGL:ARIBLK.TTF" ); +- AudicleFont::available_fonts().push_back( "FTGL:BYTE.TTF" ); +- AudicleFont::available_fonts().push_back( "FTGL:COUR.TTF" ); +- AudicleFont::available_fonts().push_back( "FTGL:LUCON.TTF" ); +- AudicleFont::available_fonts().push_back( "FTGL:TIMES.TTF" ); +- AudicleFont::available_fonts().push_back( "FTGL:verdana.TTF" ); ++ AudicleFont::available_fonts().push_back( "FTGL:arial.ttf" ); ++ AudicleFont::available_fonts().push_back( "FTGL:ariblk.ttf" ); ++ AudicleFont::available_fonts().push_back( "FTGL:cour.ttf" ); ++ AudicleFont::available_fonts().push_back( "FTGL:times.ttf" ); ++ AudicleFont::available_fonts().push_back( "FTGL:verdana.ttf" ); + + }; + +diff -ru audicle-1.0.0.6~/src/audicle_ui_base.cpp audicle-1.0.0.6/src/audicle_ui_base.cpp +--- audicle-1.0.0.6~/src/audicle_ui_base.cpp 2008-03-30 00:29:37.000000000 +0100 ++++ audicle-1.0.0.6/src/audicle_ui_base.cpp 2008-03-30 00:30:32.000000000 +0100 +@@ -47,8 +47,8 @@ + void init_UI_Fonts() { + if ( _ui_fonts_inited ) return; + #ifdef _USE_FTGL_FONTS_ +- labelFont = AudicleFont::loadFont ( "FTGL:verdana.TTF" ); +- labelFontMono = AudicleFont::loadFont ( "FTGL:LUCON.TTF" ); ++ labelFont = AudicleFont::loadFont ( "FTGL:verdana.ttf" ); ++ labelFontMono = AudicleFont::loadFont ( "FTGL:couri.ttf" ); + #else + labelFont = AudicleFont::loadFont ( "OpenGL:variable" ); + labelFontMono = AudicleFont::loadFont ( "OpenGL:variable" ); +diff -ru audicle-1.0.0.6~/src/audicle_ui_editor.cpp audicle-1.0.0.6/src/audicle_ui_editor.cpp +--- audicle-1.0.0.6~/src/audicle_ui_editor.cpp 2008-03-30 00:29:37.000000000 +0100 ++++ audicle-1.0.0.6/src/audicle_ui_editor.cpp 2008-03-30 00:30:32.000000000 +0100 +@@ -46,7 +46,7 @@ + + void init_Buffer_Font() { + #ifdef _USE_FTGL_FONTS_ +- bufferFont = AudicleFont::loadFont ( "FTGL:LUCON.TTF" ); ++ bufferFont = AudicleFont::loadFont ( "FTGL:couri.ttf" ); + #else + bufferFont = AudicleFont::loadFont ( "OpenGL:mono" ); + #endif |