Alien-Font-Uni
view release on metacpan or search on metacpan
* = small distro fixes
* & fixed changes file
* & streamline dist.ini
* & update github Readme file
* & more tests
* ? more POD
0.1 2022-11-17 lichtkind
--------
* = init release
* + contains unifont version 14.04
LICENSE
MANIFEST
META.json
META.yml
Makefile.PL
README
cpanfile
dist.ini
lib/Alien/Font/Uni.pm
share/OFL1.1.txt
share/unifont-15.0.01.ttf
t/01_load..t
xt/author/pod-syntax.t
{
"abstract" : "access to Unifont truetype file",
"author" : [
"Herbert Breunung <lichtkind@cpan.org>"
],
"dynamic_config" : 0,
"generated_by" : "Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
---
abstract: 'access to Unifont truetype file'
author:
- 'Herbert Breunung <lichtkind@cpan.org>'
build_requires:
Test::More: '1.3'
configure_requires:
ExtUtils::MakeMaker: '0'
File::ShareDir::Install: '0.06'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010'
license: perl
Makefile.PL view on Meta::CPAN
use ExtUtils::MakeMaker;
use File::ShareDir::Install;
$File::ShareDir::Install::INCLUDE_DOTFILES = 1;
$File::ShareDir::Install::INCLUDE_DOTDIRS = 1;
install_share dist => "share";
my %WriteMakefileArgs = (
"ABSTRACT" => "access to Unifont truetype file",
"AUTHOR" => "Herbert Breunung <lichtkind\@cpan.org>",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
"File::ShareDir::Install" => "0.06"
},
"DISTNAME" => "Alien-Font-Uni",
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.008000",
"NAME" => "Alien::Font::Uni",
"PREREQ_PM" => {
NAME
Alien::Font::Uni - access to Unifont truetype file
SYNOPSIS
use Alien::Font::Uni;
my $path = Alien::Font::Uni::get_path();
my $vstring = Alien::Font::Uni::font_vstring();
my $string = Alien::Font::Uni::font_version();
DESCRIPTION
This module was created as an optional dependency of Chart to have
access to an unicode complete scaleable font file. Thus only the .ttf
file is provided since this is what GD can read. Distros might redirect
to pre-existing resources.
FONT
Unifont 15, Copyright(c) 1998 - 2022 by Roman Czyborra, Paul Hardy and
contributors - Licensed under OFL 1.1
AUTHOR
Herbert Breunung (lichtkind@cpan.org)
COPYRIGHT
Copyright(c) 2022 by Herbert Breunung
All rights reserved. This program is free software; you can redistribute
it and/or modify it under the same terms as Perl itself.
lib/Alien/Font/Uni.pm view on Meta::CPAN
use strict;
package Alien::Font::Uni;
our $VERSION = '0.3';
use File::ShareDir 'dist_dir';
use File::Spec;
sub get_path { File::Spec->catfile( dist_dir('Alien-Font-Uni') , 'unifont-'.font_version().'.ttf') }
sub font_version { '15.0.01' }
sub font_vstring { v15.0.01 }
1;
__END__
=pod
=head1 NAME
Alien::Font::Uni - access to Unifont truetype file
=head1 SYNOPSIS
use Alien::Font::Uni;
my $path = Alien::Font::Uni::get_path();
my $vstring = Alien::Font::Uni::font_vstring();
my $string = Alien::Font::Uni::font_version();
=head1 DESCRIPTION
This module was created as an optional dependency of L<Chart>
to have access to an unicode complete scaleable font file.
Thus only the .ttf file is provided since this is what L<GD> can read.
Distros might redirect to pre-existing resources.
=head1 FONT
Unifont 15, Copyright(c) 1998 - 2022 by Roman Czyborra, Paul Hardy
and contributors - Licensed under OFL 1.1
=head1 AUTHOR
Herbert Breunung (lichtkind@cpan.org)
=head1 COPYRIGHT
Copyright(c) 2022 by Herbert Breunung
share/OFL1.1.txt view on Meta::CPAN
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
share/OFL1.1.txt view on Meta::CPAN
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
t/01_load..t view on Meta::CPAN
#!/usr/bin/perl -w
use strict;
BEGIN { unshift @INC, 'lib' };
use Test::More tests => 3;
use_ok( 'Alien::Font::Uni' );
is(-e Alien::Font::Uni::get_path(), 1, 'font file present');
ok(Alien::Font::Uni::get_path() =~ Alien::Font::Uni::font_version(), 'version propably right');
exit (0);
( run in 1.409 second using v1.01-cache-2.11-cpan-5735350b133 )