Permalink
Browse files

replacing bold font with regular one

  • Loading branch information...
1 parent f00a8ee commit 70dc32e2f3d163bfe92ee4719303a933991b8738 @garu garu committed Feb 27, 2011
Showing with 6 additions and 6 deletions.
  1. +1 −1 lib/SDLx/Text.pm
  2. +2 −2 lib/pods/SDLx/Text.pod
  3. BIN share/GenBasB.ttf
  4. BIN share/GenBasR.ttf
  5. +1 −1 t/sdlx_text.t
  6. +1 −1 t/ttf.t
  7. +1 −1 t/ttf_font.t
View
@@ -15,7 +15,7 @@ sub new {
my $file = $options{'font'};
if (!$file) {
require File::ShareDir;
- $file = File::ShareDir::dist_file('SDL', 'GenBasB.ttf');
+ $file = File::ShareDir::dist_file('SDL', 'GenBasR.ttf');
}
my $color = $options{'color'} || [255, 0, 0];
@@ -37,7 +37,7 @@ Instantiates a new SDLx::Text object. All arguments are optional:
Sets the font to use. Fonts can be in TTF or FON formats. Generates an
exception if the font cannot be loaded. If this argument is not provided,
-it will load the default C<Gentium Basic (Bold)> free font (see "L</"COPYRIGHT & LICENSE">" for more information).
+it will load the default C<Gentium Basic> free font (see "L</"COPYRIGHT & LICENSE">" for more information).
=item * color
@@ -121,7 +121,7 @@ See L<SDL/AUTHORS>.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
-This module ships with a default font, "I<Gentium Basic (Bold)>", Copyright 2003-2008 SIL International (http://sil.org), released under the SIL Open Font License 1.1 (OFL). The font is available for use in free and commercial products, with some minor restrictions. Please read the C<OFL.txt> and C<OFL-FAQ.txt> for further information.
+This module ships with a default font, "I<Gentium Basic>", Copyright 2003-2008 SIL International (http://sil.org), released under the SIL Open Font License 1.1 (OFL). The font is available for use in free and commercial products, with some minor restrictions. Please read the C<OFL.txt> and C<OFL-FAQ.txt> for further information.
=head1 SEE ALSO
View
Binary file not shown.
View
Binary file not shown.
View
@@ -22,7 +22,7 @@ $ENV{SDL_VIDEODRIVER} = 'dummy' unless $ENV{SDL_RELEASE_TESTING};
use FindBin;
use File::Spec;
my $score = SDLx::Text->new(
- font => File::Spec->catfile($FindBin::Bin, '..', 'share', 'GenBasB.ttf')
+ font => File::Spec->catfile($FindBin::Bin, '..', 'share', 'GenBasR.ttf')
);
isa_ok( $score, 'SDLx::Text');
View
@@ -28,7 +28,7 @@ use Encode;
use FindBin;
use File::Spec;
my $font_filename = File::Spec->catfile(
- $FindBin::Bin, '..', 'share', 'GenBasB.ttf'
+ $FindBin::Bin, '..', 'share', 'GenBasR.ttf'
);
my $videodriver = $ENV{SDL_VIDEODRIVER};
View
@@ -20,7 +20,7 @@ use SDL::Version;
use FindBin;
use File::Spec;
my $font_filename = File::Spec->catfile(
- $FindBin::Bin, '..', 'share', 'GenBasB.ttf'
+ $FindBin::Bin, '..', 'share', 'GenBasR.ttf'
);
my $lv = SDL::TTF::linked_version();

0 comments on commit 70dc32e

Please sign in to comment.