The expected image for test freetype/bug00132 appears to be incorrect
まだ誰も着手していません。
評価
調査の方向性
The test is freetype/bug00132.c, and its reference image is freetype/bug00132_exp.png. Build and run that test to reproduce the mismatch, then compare the actual output with the expected image to see the background difference the report describes. Done means the reference image renders the glyphs visibly and the test passes on the platforms in the report. Check the thread first, since the correct background colour may need a maintainer decision.
索引モデルが issue の本文から書いたものです。
説明
In versions of GD 2.2.5 and 2.3.0 (and perhaps previously) the test freetype/bug00132 fails on AIX with the message
freetype/bug00132.c:36: Total pixels changed: 9 with a maximum channel difference of 255.
freetype/bug00132.c:38: Reference image and destination differ
Testing on Fedora 31 ppc64le Linux, this test also fails (returns 1) and the image produced is identical to the result on AIX, but it does not display the error message.
The expected image freetype/bug00132_exp.png displayed in Firefox shows white thetasym and theta on a WHITE rectangular background (same using paint), which is difficult to see.
The images produced by AIX and Fedora 31 ppc64le show white thetasym and theta on a BLACK rectangular background.
The image produced is written to a temporary file in /tmp by introducing the following debug code
# diff freetype/bug00132.c freetype/bug00132.c.ORIG
26d25
< error = gdImageFile(im, "/tmp/bug00132_pre_act.png");
35d33
< error = gdImageFile(im, "/tmp/bug00132_act.png");
- 主要言語
- C
- スター
- 985
- フォーク
- 289
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
libgd/libgd のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
libgd: Uninitialized Stack Read in gdImageScaleBicubicFixed Leading to Out-of-bounds Pixel Accessオープン
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
libsndfile/libsndfile#1239 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
CommonLoon102/restunts-bb11#101 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100