<div dir="ltr"><div dir="ltr">Hi Regina,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 4, 2021 at 7:54 PM Regina Henschel <<a href="mailto:rb.henschel@t-online.de">rb.henschel@t-online.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
I have a first version of a patch for<br>
<a href="https://bugs.documentfoundation.org/show_bug.cgi?id=140321" rel="noreferrer" target="_blank">https://bugs.documentfoundation.org/show_bug.cgi?id=140321</a><br>
"Fontwork: Change in surface has no effect"<br>
in Gerrit<br>
<a href="https://gerrit.libreoffice.org/c/core/+/124720" rel="noreferrer" target="_blank">https://gerrit.libreoffice.org/c/core/+/124720</a><br>
<br>
The improvements are about rendering. I'm looking for a partner, who can <br>
write tests for it.<br>
Solved problems are:<br>
Shape was rendered with specular light, should be matte.<br>
Shape was rendered the same in surface 'matte', 'plastic' and 'metal'. <br>
Should be three different renderings.<br>
Shape was rendered with shade mode 'flat' in all cases, which produces <br>
steps. Should be rendered smooth in case of shade mode 'gouraud'.<br></blockquote><div><br></div><div>I guess rendering the shape to primitives and then dumping the primitives to an xml and asserting the values should do it, however the Primitive2dXmlDump will probably need to be extended for 3D primitives. I'll try to make a test that will cover some of the rendering aspects for fontworks. <br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Kind regards,<br>
Regina<br></blockquote><div><br></div><div>Best regards, <br></div><div>Tomaž</div><div> <br></div></div></div>