GraphiteEditor / GraphiteEditor/Graphite

CLI export doesn't work for text

オープン
#4,155 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
27.2k
フォーク
1.3k
平均マージ
20時間 5分
マージ済み PR(30日)
57

説明

Using the CLI export doesn't render text layers.

Steps to reproduce:
1. Make a new document in the latest web version of Graphite with `cargo run`.
2. Using the text tool, add some text to say "Test"
3. Save this file to the computer as `my_document.graphite` in your document folder
4. Export this file through the CLI with `cargo run cli -- export ~/Documents/my_document.graphite -o my_output.png --width 1920 --height 1080`
5. Observe that the resulting image is blank (or, if you had another layer in the artboard, the result is that other layer)

Other notes:
- This seems to be an issue for any of the 4 filetypes (png, jpg, svg, gif)
- I tried some workarounds, like converting the text to sample polyline or filling it with instance points, and these would also not render, so my guess is the Text node itself has some kind of issue.
- Unfortunately, I wasn't able to track down when this started, as the introduction of this bug goes beyond the current CLI syntax.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。