Gregory Lo

Results 5 comments of Gregory Lo

Aside... I had to look up the implementation of **AbstractContentContext::DrawPath()** to see what it does. Renaming it to **DrawPolygon()** would probably make its intent more easily understood at the call...

You're right that the **AbstractContentContext::GraphicsOptions::close** is **false** by default. Calling **AbstractContentContext::DrawPath()** without setting it to **true** will draw a polyline instead of a polygon. Sorry for the confusion.

What happens when you try to draw your polyline with **RG()** [_**setrgbcolor** for stroking operations_], **m()** [_**moveto**_], **l()** [_**lineto**_], and **S()** [_**stroke**_] directly? What happens when you try to draw...

The font in question is a .pfb file we've created on-the-fly from a Type 1 font packaged in a Mac font suitcase (i.e. it's defined in 'POST' resources in the...

Code in hummus translates utf8 to lists of UCS2 codepoints anyway (in several places in PDFUsedFont, etc.) before calling FreeTypeFaceWrapper::GetGlyphsForUnicodeText() itself, and we wanted some extra control over the output...