processing / processing/processing4
With a lot of custom fonts and large font sizes, characters disappear with P2D / P3D
オープン
まだ誰も着手していません。
has attachment
opengl
- 主要言語
- Java
- スター
- 494
- フォーク
- 183
- 平均マージ
- 4時間 39分
- マージ済み PR(30日)
- 3
説明
Created by: clankill3r
With a lot of custom fonts and large font sizes, it can be that characters are not drawn.
Here i draw the text "HSLAB":
One of the weird things is, that if you disable noLoop() that it works again.
Font:
https://fonts.google.com/specimen/Source+Code+Pro
int font_size = 400;
PFont font;
void setup() {
size(1200, 350, P2D);
noLoop();
}
void draw() {
background(0);
if (font == null) {
font = createFont("SourceCodePro-Black.ttf", font_size);
textFont(font);
}
textSize(font_size);
fill(255);
text("HSLAB", 0, height*0.85);
}
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ソースファイルもテストも指定されていません。まず、Source Code Pro、大きなフォントサイズ、多数のカスタムフォント、noLoop() を使用して、提供された Java スケッチを P2D と P3D で実行します。両方のレンダラーで HSLAB 文字が一貫して描画され、noLoop() を無効にする必要がなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- computer-graphics
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100