GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PDF::API2::RESOURCE::UNIFONT (3)

.ds Aq ’

NAME

PDF::API2::Resource::UniFont - Unicode Font Support

CONTENTS

METHODS

$font = PDF::API2::Resource::UniFont->new $pdf, @fontspecs, %options Returns a uni-font object.

<B>FONTSPECS:B> fonts can be registered using the following hash-ref:



    {
        font   => $fontobj,     # the font to be registered
        blocks => $blockspec,   # the unicode blocks, the font is being registered for
        codes  => $codespec,    # the unicode codepoints, -"-
    }



<B>BLOCKSPECS:B>



    [
        $block1, $block3,    # register font for block 1 + 3
        [$blockA,$blockZ],   # register font for blocks A .. Z
    ]



<B>CODESPECS:B>



    [
        $cp1, $cp3,          # register font for codepoint 1 + 3
        [$cpA,$cpZ],         # register font for codepoints A .. Z
    ]



<B>NOTE:B> if you want to register a font for the entire unicode space (ie. U+0000 .. U+FFFF), then simply specify a font-object without the hash-ref.

Valid %options are:



  -encode ... changes the encoding of the font from its default.
    (see "perldoc Encode" for a list of valid tags)



$font = PDF::API2::Resource::UniFont->new_api $api, $name, %options Returns a uni-font object. This method is different from ’new’ that it needs an PDF::API2-object rather than a Text::PDF::File-object.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PDF::API2::RESOURCE::UNIFONT (3) 2016-03-11

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.