<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakahashi_h</author_name>
  <author_url>https://blog.hatena.ne.jp/nakahashi_h/</author_url>
  <blog_title>websandbag ブログ</blog_title>
  <blog_url>https://blog.websandbag.com/</blog_url>
  <categories>
    <anon>php</anon>
    <anon>pdf</anon>
    <anon>laravel</anon>
    <anon>Dompdf</anon>
  </categories>
  <description>Webシステムで帳票を生成する機会というのはよくあります。 PDFを作成するライブラリは色々ありますが、手軽にHTMLライクで作れるライブラリとなるとDompdfがあります。 github.com しかし、デフォルトでは日本語に対応していません。 日本語を含むフォントファミリーを設定する事で日本語対応できます。 さて、 今回は日本語フォントに対応する方法について触れます。 環境について Laravelで開発していて、Laravel用にラップされたlaravel-Dompdfを使用しています。 ライブラリ名 バージョン laravel-dompdf 0.8.7 dompdf 0.8 (larav…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.websandbag.com%2Fentry%2F2020%2F11%2F23%2F221039&quot; title=&quot;【Dompdf】テキストに日本語を使用する - websandbag ブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/n/nakahashi_h/20181204/20181204160621.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-23 22:10:39</published>
  <title>【Dompdf】テキストに日本語を使用する</title>
  <type>rich</type>
  <url>https://blog.websandbag.com/entry/2020/11/23/221039</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
