Skip to content

Colored OTF fonts break preview window #1283

Open
@robertmorelli

Description

Describe the bug
Preview window in vs code stops responding when using a colorful OTF font despite typst supporting these fonts

Package/Software version:

Version: 1.98.0-insider
Commit: 984a65113ef245fa4a0e4184621272da0b031f5f
Date: 2025-02-13T05:04:34.724Z
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Code-Insiders/1.98.0-insider Chrome/132.0.6834.194 Electron/34.1.0 Safari/537.36
tinymist
Version 0.12.19

Logs:

the logging window is not showing any kinds of errors

[2025-02-14T22:26:12Z INFO  sync_lsp] handling workspace/executeCommand - (399) at Instant { tv_sec: 96015, tv_nsec: 189400916 }
[2025-02-14T22:26:12Z INFO  sync_lsp] handled  workspace/executeCommand - (399) in 54.63µs
[2025-02-14T22:26:13Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 96016, tv_nsec: 373057375 }
[2025-02-14T22:26:13Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 170.00µs
[2025-02-14T22:26:13Z INFO  sync_lsp] handling textDocument/documentSymbol - (400) at Instant { tv_sec: 96016, tv_nsec: 726549375 }
[2025-02-14T22:26:13Z INFO  sync_lsp] handled  textDocument/documentSymbol - (400) in 2.52ms
[2025-02-14T22:26:13Z INFO  sync_lsp] handling textDocument/documentSymbol - (401) at Instant { tv_sec: 96016, tv_nsec: 729127333 }
[2025-02-14T22:26:13Z INFO  sync_lsp] handled  textDocument/documentSymbol - (401) in 1.67ms
[2025-02-14T22:26:13Z INFO  sync_lsp] handling textDocument/foldingRange - (402) at Instant { tv_sec: 96016, tv_nsec: 732240375 }
[2025-02-14T22:26:13Z INFO  sync_lsp] handled  textDocument/foldingRange - (402) in 1.91ms
[2025-02-14T22:26:14Z INFO  sync_lsp] handling textDocument/documentLink - (403) at Instant { tv_sec: 96017, tv_nsec: 379658625 }
[2025-02-14T22:26:19Z INFO  sync_lsp] handling workspace/executeCommand - (404) at Instant { tv_sec: 96022, tv_nsec: 853656416 }
[2025-02-14T22:26:19Z INFO  sync_lsp] handled  workspace/executeCommand - (404) in 44.58µs
[2025-02-14T22:27:30Z INFO  sync_lsp] handling workspace/executeCommand - (405) at Instant { tv_sec: 96094, tv_nsec: 167237583 }
[2025-02-14T22:27:30Z INFO  sync_lsp] handled  workspace/executeCommand - (405) in 45.29µs
[2025-02-14T22:27:33Z INFO  sync_lsp] handling workspace/executeCommand - (406) at Instant { tv_sec: 96096, tv_nsec: 860313666 }
[2025-02-14T22:27:33Z INFO  sync_lsp] handled  workspace/executeCommand - (406) in 20.21µs
[2025-02-14T22:27:45Z INFO  sync_lsp] handling workspace/executeCommand - (407) at Instant { tv_sec: 96108, tv_nsec: 386179166 }
[2025-02-14T22:27:45Z INFO  sync_lsp] handled  workspace/executeCommand - (407) in 101.17µs
[2025-02-14T22:27:52Z INFO  sync_lsp] handling workspace/executeCommand - (408) at Instant { tv_sec: 96115, tv_nsec: 918289375 }
[2025-02-14T22:27:52Z INFO  sync_lsp] handled  workspace/executeCommand - (408) in 72.38µs

Additional context
I was using the font Gilbert Color. It works compiling on the command line but not in vscode preview

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions