You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Context
According to the `ISO 32000-1:2008` specification, section `9.6.2`, a `Type 1` font program is a stylized PostScript program that describes glyph shapes. This object is represented as a PDF dictionary.
This dictionary has an entire list of entries but this user story will be focused on supporting only the essential ones for the standard 14 fonts.
### Required entries
| Key | Type | Constraints |
| --- | --- | --- |
| Type | name | Required, must be `Font` |
| Subtype | name | Required, must be `Type1` |
| Name | name | Required in PDF1.0 but the validation will be skipped in this story |
| BaseFont | name | Required, in the context of this story the name must match one of 14 standard fonts |
### Standard 14 fonts
The PostScript names of 14 Type 1 fonts, known as the standard 14 fonts, are as follows:
- Times-Roman
- Helvetica
- Courier
- Symbol
- Times-Bold
- Helvetica-Bold
- Courier-Bold
- ZapfDingbats
- Times-Italic
- Helvetica-Oblique
- Courier-Oblique
- Times-BoldItalic
- Helvetica-BoldOblique
- Courier-BoldOblique
### Acceptance criteria
1. This object must extend the #9
2. Add the static standard 14 fonts, ~~probably using a Lazy initialization pattern~~
3. The code must be covered with the unit tests
* ci(benchmark): added initial project and a test benchmark
re #156
* feat(font): added basic Type1 font and the standard 14 fonts
User Stories
The text was updated successfully, but these errors were encountered: