=cut
use 5.006;
use strict; use warnings;
use utf8;
use Carp qw(croak);
use Data::Dumper;
use JSON;
use File::Share ':all';
=encoding utf8
=head1 DESCRIPTION
Base font class to support font fam
#
# PRIVATE METHODS
sub _generate_char_width {
my ($self) = @_;
my $name = sprintf("%s.json", lc($self->{font_name}));
my $file = dist_file('PDF-Create', $name);
my $data = _load_da
d_data {
my ($file) = @_;
open(my $fh, $file);
local $/;
my $json = <$fh>;
my $data = from_json($json);
close($fh);
return $data;
}
sub _supported_characters {
retu