Skip to content

Sample app to demonstrate using a custom font in WebView

Notifications You must be signed in to change notification settings

dlafayet/WebViewCustomFont

Repository files navigation

WebViewCustomFont

This app demonstrates loading a custom font in a WebView using @font-face. The font file is stored locally in the app's assets folder. The app cycles through local html pages with the same font settings to demonstrate the performance of loading text in a WebView using custom fonts.

The font file used is based on Noto CJK JP subset to just unicode range U+3000-30FF.

alt text

"Go back" button lets you go back one frame.

"Font-display" button toggles between font-display: block and font-display: optional settings.

About

Sample app to demonstrate using a custom font in WebView

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published