Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Fonts are not working. #168

Closed
Atif-Sheikh opened this issue May 14, 2024 · 2 comments
Closed

Custom Fonts are not working. #168

Atif-Sheikh opened this issue May 14, 2024 · 2 comments

Comments

@Atif-Sheikh
Copy link

I'm trying to integrate a custom font family with Subtitles Octopus, but the fonts are not working.

Screenshot 2024-05-14 at 1 53 46 PM
@Atif-Sheikh
Copy link
Author

Atif-Sheikh commented May 14, 2024

Props I used:


new SubtitlesOctopus({
    "canvas": "canvasElement",
    "availableFonts": {
        "font": "fontPath"
    },
    "subContent": "subContent",
    "fonts": [
        "fontPath"
    ],
    "workerUrl": "workerPath",
    "legacyWorkerUrl": "legacyURL",
    "fallbackFont": "fallbackFontPath"
})

@Atif-Sheikh
Copy link
Author

Closing it as found the fix from another package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant