-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement standard font tests for Imager::Font::W32
- Loading branch information
Showing
6 changed files
with
85 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
Changes | ||
fontfiles/ExistenceTest.ttf | ||
imw32.h | ||
inc/Devel/CheckLib.pm | ||
lib/Imager/Font/Win32.pm | ||
Makefile.PL | ||
MANIFEST This list of files | ||
MANIFEST.SKIP | ||
README | ||
t/t10win32.t | ||
W32.pm | ||
W32.xs | ||
win32.c | ||
Changes | ||
fontfiles/ExistenceTest.ttf | ||
imw32.h | ||
inc/Devel/CheckLib.pm | ||
lib/Imager/Font/Win32.pm | ||
Makefile.PL | ||
MANIFEST This list of files | ||
MANIFEST.SKIP | ||
README | ||
t/t10win32.t | ||
t/t90std.t Standard font tests for W32 | ||
W32.pm | ||
W32.xs | ||
win32.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!perl -w | ||
use strict; | ||
use Imager::Test qw(std_font_tests std_font_test_count); | ||
use Imager::Font; | ||
use Test::More tests => std_font_test_count(); | ||
|
||
Imager->open_log(log => "testout/t90std.log"); | ||
|
||
my $font = Imager::Font->new(face => "Times New Roman Bold", | ||
type => "w32"); | ||
|
||
SKIP: | ||
{ | ||
$font | ||
or skip "Cannot load font", std_font_test_count(); | ||
std_font_tests | ||
({ | ||
font => $font, | ||
#has_chars => [ 1, 1, 1 ], | ||
#files => 1, | ||
#glyph_name_font => $name_font, | ||
#glyph_names => [ "A", "uni2010", "A" ], | ||
}); | ||
} | ||
Imager->close_log; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters