mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-16 02:44:51 +00:00
Add a readme, make it easier to install
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
diff --git a/dist/jassub.js b/dist/jassub.js
|
||||
index bbdaa8d4dcb5269617c53652c0702968093dc922..21e6ff6880acb0d304cdce2ff710aa2e5c0f4ab6 100644
|
||||
--- a/dist/jassub.js
|
||||
+++ b/dist/jassub.js
|
||||
@@ -61,9 +61,6 @@ export default class JASSUB {
|
||||
const modern = opts.modernWasmUrl ?? new URL('./wasm/jassub-worker-modern.wasm', import.meta.url).href;
|
||||
const normal = opts.wasmUrl ?? new URL('./wasm/jassub-worker.wasm', import.meta.url).href;
|
||||
const availableFonts = opts.availableFonts ?? {};
|
||||
- if (!availableFonts['liberation sans'] && !opts.defaultFont) {
|
||||
- availableFonts['liberation sans'] = new URL('./default.woff2', import.meta.url).href;
|
||||
- }
|
||||
this.ready = new Renderer({
|
||||
wasmUrl: JASSUB._supportsSIMD ? modern : normal,
|
||||
width: ctrl.width,
|
||||
Reference in New Issue
Block a user