Not logged in. · Lost password · Register

All posts by Bekkerel (1)

topic: How i can customize dw2pdf (user fonts)  in the forum: General Help and Support Plugins
Bekkerel #1
Member since Dec 2017 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: How i can customize dw2pdf (user fonts)
I use dokuwiki with a template. Custom fonts added to wiki: product icons.

Problem: how can I customize the output of PDF with icons? I have plugins dw2pdf + bookcreator, however, fonts cannot be connected.

Fonts copied in

sample of my configs in FontVariables.php:

namespace Mpdf\Config;

class FontVariables

    private $defaults;

    public function __construct()
        $this->defaults = [
            'fontdata' => [
                /* custom two fonts */
                "UDiconfont" => [
                    'R' => "UDiconfont.ttf",
                    'useOTL' => 0xFF,
                    'useKashida' => 75,
                "ud_menu-font" => [
                    'R' => "ud_menu-font.otf",
                    'R' => "ud_menu-font.woff",
                    'useOTL' => 0xFF,
                    'useKashida' => 75,

Please, help, tell me how can I display the font or display it as a picture
Close Smaller – Larger + Reply to this post:
Special characters:
Special queries
Go to forum
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-01-18, 06:55:38 (UTC +01:00)