Search code examples
c#xamlpdfpdfsharpxps

Pdfsharp lost Opacity of textblock


This is my textblock <TextBlock Grid.Row="0" Grid.Column="1" Text="Not" Opacity="0.1"/> I use Pdfsharp.xps to transfer, but it lost opacity, it's solid. Pdf Image:pdf, Xps Imagexps Does anyone face it.


Solution

  • Thanks for your attention. I have fixed this bug, Pdfsharp.xps lost the opacity of glyphs, add RealizeFillOpacity() for writeglyph()