<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Add font color in Poppler"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107151#c28">Comment # 28</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Add font color in Poppler"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107151">bug 107151</a>
from <span class="vcard"><a class="email" href="mailto:aacid@kde.org" title="Albert Astals Cid <aacid@kde.org>"> <span class="fn">Albert Astals Cid</span></a>
</span></b>
<pre>(In reply to Tobias Deiminger from <a href="show_bug.cgi?id=107151#c23">comment #23</a>)
<span class="quote">> (In reply to Albert Astals Cid from <a href="show_bug.cgi?id=107151#c22">comment #22</a>)
> > * DefaultAppearance name
> > Are we sure this is the best name for the class? Wouldn't AnnotAppearance
> > make more sense? What's "Default" about this class?
> We model the /DA entry here. It's written "default appearance string" in PDF
> 1.7, P. 396. And because we do some abstraction and our model is no more a
> string, I thought we strip "string", and what remains is "DefaultAppearance".
>
> I think we should not mix up /DA with /AP, even if they're similar. AP is
> the annotations appearance, while DA establishes context if AP is missing
> and we need to create a AP replacement in-memory. DA has limited set of
> allowed operators, while AP can do almost everything.
>
> Does this make sense?
>
> Btw., some other PDF libraries expose DA actually as string. See [0]. I
> don't think exposing as string is a good idea. Just wanted to mention it, as
> it might be the last time we think about that API for a while.
>
> [0]
> <a href="https://pdfbox.apache.org/docs/2.0.1/javadocs/org/apache/pdfbox/pdmodel/fdf/">https://pdfbox.apache.org/docs/2.0.1/javadocs/org/apache/pdfbox/pdmodel/fdf/</a>
> FDFAnnotationFreeText.html#setDefaultAppearance(java.lang.String)
> [1]
> <a href="https://github.com/gdelugre/origami/blob/">https://github.com/gdelugre/origami/blob/</a>
> 98ea557af7aa9e926aac564bf89e6e0ead4a1a5e/lib/origami/annotations.rb#L309</span >
Ok, fair enough</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>