(item, quote)
| 122919 | return (quote && font1 ? String(font1).replace(/"/g, "'") : font1) || "sans-serif"; |
| 122920 | } |
| 122921 | function font(item, quote) { |
| 122922 | return "" + (item.fontStyle ? item.fontStyle + " " : "") + (item.fontVariant ? item.fontVariant + " " : "") + (item.fontWeight ? item.fontWeight + " " : "") + fontSize(item) + "px " + fontFamily(item, quote); |
| 122923 | } |
| 122924 | function offset(item) { |
| 122925 | // perform our own font baseline calculation |
| 122926 | // why? not all browsers support SVG 1.1 'alignment-baseline' :( |
no test coverage detected