[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [cgmo-webcgm] fontmap xml coding
All, can there be only one fontmap or two? The reason why I ask is that an interpreter only needs a font mapping from a CGM font to a display font. An editor may need the exact opposite as well: a table mapping from display fonts to the desired CGM fonts. Dieter -----Original Message----- From: Robert Orosz [mailto:roboro@auto-trol.com] Sent: Samstag, 31. Januar 2009 01:51 To: 'Don'; CGM Open WebCGM TC Cc: Dave Cruikshank Subject: RE: [cgmo-webcgm] fontmap xml coding Don, cgmFont is an attribute of maplist, so there can only be one per maplist element. The content model does allow multiple maplist elements. Your example should look like this. <webcgmConfig> <fontmap> <defaultFont useFont=Arial> <maplist cgmFont="Helvetica" substitutionList="Arial, sans-serif"/> <maplist cgmFont="Times-Roman" substitutionList="New Times Roman, serif"/> </fontmap> </webcgmConfig> Note that the forceSubstitution attribute defaults to yes, so I left it out. Regards, Rob -----Original Message----- From: Don [mailto:dlarson@cgmlarson.com] Sent: Friday, January 30, 2009 5:03 PM To: CGM Open WebCGM TC Cc: Dave Cruikshank Subject: [cgmo-webcgm] fontmap xml coding All To all XML experts. I would like feedback on my following the XML encoding of a fontmap in an ACI file. Is this correct? I'm not sure of coding for multiple instances of cgmFont? <webcgmConfig <fontmap> <defaultFont useFont=Arial> <maplist> forceSubstituion="yes" cgmFont="Helvetica" substitutionList="Arial, sans-serif" cgmFont="Times-Roman" substitutionList="New Times Roman", serif" </maplist> </fontmap> </webcgmConfig> Regards, Don --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]