Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のアプリでは、サーバーからフォントを動的にダウンロードしてデータベースに保存します。dbのblobからTypafaceを作成する方法はありますか?もちろん、一時ファイルを作成してそこからデータをロードすることはできますが、それは最善の方法ではありません
それが唯一の方法です。タイプフェイスは、アセット ファイルまたは通常のファイルから作成できます。デバイスにフォントを保存し、パスをデータベースに保存します。次に、パスを取得し、File オブジェクトを作成して Typeface を作成します。
「designMode」の代わりにIframe で