/* no list, just a single name
* (or first name in the list)
*/
+ if (quoteIndex != -1) {
+ /* a single name, quoted
+ */
+ fromIndex = quoteIndex;
+ }
m = FObj.getPropertyMakerFor(PROP_IDS[1]);
prop = m.make(propertyList, specVal.substring(fromIndex), fo);
newProp.addProperty(prop, 1);
* fromIndex = index of the first quote
*/
fromIndex = quoteIndex;
+ quoteIndex = -1;
} else {
fromIndex = value.lastIndexOf(' ', commaIndex) + 1;
}
</fo:layout-master-set>\r
<fo:page-sequence master-reference="simpleA4">\r
<fo:flow flow-name="xsl-region-body">\r
- <fo:block font="10pt sans-serif">\r
- <test:assert property="font-family" expected="[sans-serif]"/>\r
+ <fo:block font="bold 10pt 'Times New Roman'">\r
+ <test:assert property="font-family" expected="[Times New Roman]"/>\r
<test:assert property="font-size" expected="10000mpt"/>\r
- <test:assert property="font-weight" expected="400" />\r
+ <test:assert property="font-weight" expected="700" />\r
<test:assert property="font-style" expected="NORMAL" />\r
<test:assert property="line-height.optimum" expected="120.0%" />\r
<test:assert property="font-variant" expected="NORMAL" />\r