Skip to content

GD readers : Fixed known limitations - #11

Merged
Progi1984 merged 1 commit into
masterfrom
fixLimitations
Oct 7, 2026
Merged

Progi1984 merged 1 commit into
masterfrom
fixLimitations

Conversation

@Progi1984

Copy link
Copy Markdown
Member
  • Added dashed pens (styles & PS_USERSTYLE) & hatched brushes
  • Added pattern brushes (tiled patterns, instead of their average color)
  • Added raster operations (ROP3) for bitmaps & PatBlt
  • Added compressed bitmaps (BI_RLE4 & BI_RLE8)
  • Added the conversion of the Symbol font to Unicode
  • Added the color of the background (setBackgroundColor), which may be transparent
  • WMF : Added support for WMF files without placeable header (size defined by the window)
  • WMF : Added META_INVERTREGION
  • EMF : Added the vertical advances of texts (ETO_PDY)
  • EMF+ : Added the wrapping of texts (NoWrap & NoClip flags)
  • EMF+ : Added compound lines
  • EMF+ : Added the surrounding colors of path gradients
  • EMF+ : Embedded WMF files without placeable header are drawn
  • Updated the known limitations & the changelog

- Added dashed pens (styles & PS_USERSTYLE) & hatched brushes
- Added pattern brushes (tiled patterns, instead of their average color)
- Added raster operations (ROP3) for bitmaps & PatBlt
- Added compressed bitmaps (BI_RLE4 & BI_RLE8)
- Added the conversion of the Symbol font to Unicode
- Added the color of the background (setBackgroundColor), which may be transparent
- WMF : Added support for WMF files without placeable header (size defined by the window)
- WMF : Added META_INVERTREGION
- EMF : Added the vertical advances of texts (ETO_PDY)
- EMF+ : Added the wrapping of texts (NoWrap & NoClip flags)
- EMF+ : Added compound lines
- EMF+ : Added the surrounding colors of path gradients
- EMF+ : Embedded WMF files without placeable header are drawn
- Updated the known limitations & the changelog
@coveralls

coveralls commented Oct 7, 2026 •

Copy link
Copy Markdown

Coverage Report for CI Build 37573738308

Coverage increased (+0.1%) to 94.116%

Details

  • Coverage increased (+0.1%) from the base build.
  • Patch coverage: 20 uncovered changes across 4 files (377 of 397 lines covered, 94.96%).
  • 1 coverage regression across 1 file.

Uncovered Changes

File Changed Covered %
src/WMF/Renderer/GD.php 196 180 91.84%
src/WMF/Renderer/Encoding.php 16 14 87.5%
src/WMF/Reader/EMF/GD.php 19 18 94.74%
src/WMF/Reader/WMF/GD.php 50 49 98.0%
Total (9 files) 397 377 94.96%

Coverage Regressions

1 previously-covered line in 1 file lost coverage.

File Lines Losing Coverage Coverage
src/WMF/Reader/EMFPlus/ObjectReader.php 1 92.73%

Coverage Stats

Coverage Status
Relevant Lines: 3314
Covered Lines: 3119
Line Coverage: 94.12%
Coverage Strength: 71.44 hits per line

💛 - Coveralls

@Progi1984
Progi1984 marked this pull request as ready for review October 7, 2026 05:46
@Progi1984
Progi1984 merged commit 30bb389 into master Oct 7, 2026
22 checks passed
@Progi1984 Progi1984 added this to the 0.2.0 milestone Oct 7, 2026
@Progi1984
Progi1984 deleted the fixLimitations branch October 8, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants