Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79deb35 commit 70e9c33Copy full SHA for 70e9c33
ttconv/pprdrv_tt2.cpp
@@ -226,6 +226,22 @@ void GlyphToType3::PSConvert(TTStreamWriter& stream)
226
227
// For any two consecutive off-path points, insert the implied
228
// on-path point.
229
+
230
+ if (points.size() == 0) {
231
+ k=nextinctr(i,k);
232
233
+ if (k==NOMOREINCTR)
234
+ {
235
+ i=k=nextoutctr(i);
236
+ }
237
238
+ if (i==NOMOREOUTCTR)
239
240
+ break;
241
242
+ continue;
243
244
245
FlaggedPoint prev = points.back();
246
for (std::list<FlaggedPoint>::iterator it = points.begin();
247
it != points.end();
0 commit comments