# recipe
「recipe」タグの記事
gpdf team
gpdf で日本語が豆腐文字 (□□□) になる原因と直し方
PDF 出力で日本語が □ になるのはフォント未登録が最多。よくある 4 原因と直し方を最短で整理する。
recipetroubleshootingcjk
gpdf team
gpdf で IPAex ゴシックを使うには?
ipaexg.ttf を gpdf.WithFont で登録する。IPAex は Regular 1 ウェイトのみなので、Bold は合成か明朝ペアで対応する。
recipecjktutorial
gpdf team
gpdf の 12 列グリッドはどう動くのか?
gpdf の 12 列グリッドは r.Col(span, fn) に 1–12 の整数を渡すだけ。幅は span/12、ガターもブレークポイントもない PDF 向けの割り切った設計。
recipetutorialtemplates
gpdf team
gpdf で日本語フォントを埋め込むには?
gpdf.WithFont にTTFバイトを渡すだけ。サブセット埋め込みも自動、CGOも不要。Go で日本語 PDF を作る最短手順。
recipecjktutorial
gpdf team
gpdf で Noto Sans JP を使うには?
static 版の NotoSansJP-Regular.ttf を gpdf.WithFont に登録するだけ。Variable フォントを避ける理由と、17,000 グリフが PDF 内で 40 KB 未満まで減るサブセット化の話。
recipecjktutorial