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

DrawAreaBase: Improve performance for drawing Pango::GlyphString #857

Conversation

ma8ma
Copy link
Collaborator

@ma8ma ma8ma commented Nov 14, 2021

Pango::GlyphStringを使ったスレビューのテキスト描画処理の一部をより効率のよいAPI(Pango::GlyphString::get_width())に変更します。

`Pango::GlyphString`を使ったスレビューのテキスト描画処理の一部を
より効率のよいAPI(`Pango::GlyphString::get_width()`)[*]に変更します。

[*]: https://developer-old.gnome.org/pangomm/stable/classPango_1_1GlyphString.html#a9dc40d79a0ab939aadfc32ecf48cd20b
@ma8ma ma8ma added the performance 性能の改善 label Nov 14, 2021
@ma8ma ma8ma added this to In progress in State of JDim-v0.6.0+ via automation Nov 14, 2021
@ma8ma ma8ma merged commit c0b9f5c into JDimproved:master Nov 14, 2021
State of JDim-v0.6.0+ automation moved this from In progress to Done Nov 14, 2021
@ma8ma ma8ma deleted the drawareabase-improve-performance-for-drawing-glyphstring branch November 14, 2021 12:14
@ma8ma
Copy link
Collaborator Author

ma8ma commented Nov 14, 2021

現在の実装ではビルドオプション--with-pangolayoutでテキストの描画処理が選択できます。
オプションを変更しても依存関係は変わらないため両方の描画処理を実装して設定で切り替える方法を考えています。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance 性能の改善
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant