pypdf
pypdf copied to clipboard
Allow Annotations to have different formats
Explanation
(on FreeText) Right now, the /DS and /DA created from pypdf looks something like: '/DA': '0.9333333333333333 0.9333333333333333 0.9333333333333333 rg' '/DS': 'font: Helvetica 44pt5pt;text-align:left;color:#0000f5'
The "Problem" is, that many Browsers/Programs have struggles reading this specific format. From what I tested (and seen from programs/browser-addons), a (so called) Stream-Format seems to be a more "universal" format to be used. Also, it does not use /DS at all. Example: '/DA': '/Helv 10.5 Tf 0 Tc 11.76 TL 0 0.470588 0.831373 rg '
Would be cool if there could be some "Format-Change" or Converter added to pypdf.