1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 04:02:43 +01:00
phorge-phorge/src/applications/phortune/pdf/PhabricatorPDFFontObject.php
epriestley f5c380bfc9 Add very basic support for generating PDF documents
Summary: Ref T13358. This is very minimal, but technically works. The eventual goal is to generate PDF invoices to make my life easier when I have to interact with Enterprise Vendor Procurement.

Test Plan: {F6672439}

Maniphest Tasks: T13358

Differential Revision: https://secure.phabricator.com/D20692
2019-08-01 10:50:24 -07:00

14 lines
304 B
PHP

<?php
final class PhabricatorPDFFontObject
extends PhabricatorPDFObject {
protected function writeObject() {
$this->writeLine('/Type /Font');
$this->writeLine('/BaseFont /Helvetica-Bold');
$this->writeLine('/Subtype /Type1');
$this->writeLine('/Encoding /WinAnsiEncoding');
}
}