MCPcopy Index your code
hub / github.com/MapServer/MapServer / mapObj_setFontSet

Function mapObj_setFontSet

mapscript/php/mapscript_i.c:313–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313int mapObj_setFontSet(mapObj *self, char *szFileName)
314{
315 msFreeFontSet(&(self->fontset));
316 msInitFontSet(&(self->fontset));
317
318 // Set fontset filename
319 self->fontset.filename = strdup(szFileName);
320
321 return msLoadFontSet(&(self->fontset), self);
322}
323
324int mapObj_saveMapContext(mapObj *self, char *szFilename)
325{

Callers 1

map.cFile · 0.85

Calls 4

msFreeFontSetFunction · 0.85
msInitFontSetFunction · 0.85
strdupFunction · 0.85
msLoadFontSetFunction · 0.85

Tested by

no test coverage detected