NAME
Font::Fontconfig::Pattern - An Object Oriented interface to fontconfig patterns
SYNOPSIS
my $char = char( hex '2761' );
say "Char is: <$char>" if $font_pattern->contains_codepoint( ord $char );
DESCRIPTION
Object from this class provide some utillity methods for inspecting font-patterns, generated by Font::Fontconfig methods.
CLASS METHODS
new_from_string
The (only) constructor to create a new object. It takes a string returned by fc-list
INSTANCE METHODS
contains_codepoint
my $bool = $font_pattern->contains_codepoint( $ordinal )
Returns 'true' if a font, described by the $font_pattern
contains the given codepoint.
positional parameters
AUTHOR
Theo van Hoesel <tvanhoesel@perceptyx.com>
COPYRIGHT AND LICENSE
'Font::Fontconfig::Pattern' is Copyright (C) 2019 .. 2020, Perceptyx Inc
This library is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.
This library is distributed in the hope that it will be useful, but it is provided "as is" and without any express or implied warranties.
For details, see the full text of the license in the file LICENSE.