v0.7.1
Builtin Unicode Fallback
Non-Latin text now works out of the box. Noto Sans (Regular + Bold) is bundled into the engine as a last-resort fallback — Cyrillic, Greek, and other scripts render correctly without registering any fonts.
// Just works — no Font.register() needed
<Text>Привет мир</Text>
<Text>Ελληνικά</Text>Fallback is per-character, so mixed-script text like Hello Привет uses your font for Latin glyphs and Noto Sans for Cyrillic in the same <Text> element.
Document style Prop
Set global typographic defaults once instead of wrapping every <Page> in a <View>:
<Document style={{ fontFamily: 'Inter', fontSize: 12, color: '#333' }}>
<Page size="Letter" margin={36}>
<Text>No wrapper View needed.</Text>
</Page>
</Document>Supports all inheritable properties: fontFamily, fontSize, fontWeight, fontStyle, color, lineHeight, letterSpacing, textAlign, lang, and more.
Canvas line()
New convenience method on the <Canvas> drawing context:
ctx.line(10, 50, 190, 50); // x1, y1, x2, y2Shorthand for moveTo → lineTo → stroke.
Packages
| Package | Version |
|---|---|
@formepdf/core |
0.7.1 |
@formepdf/react |
0.7.1 |
@formepdf/cli |
0.7.1 |
@formepdf/renderer |
0.7.1 |
@formepdf/hono |
0.7.1 |
@formepdf/next |
0.7.1 |
@formepdf/resend |
0.7.1 |
@formepdf/mcp |
0.7.1 |
engine (Cargo) |
0.7.1 |