Hi Bertrand
Well, in 3.1, RunFontSelector contains getDefaultFont(); one way it is invoked is from MainDocumentPart's fontsInUse()
As to getFontnameFromStyle, at line 351 RunFontSelector does:
Using java Syntax Highlighting
rPr
= propertyResolver.
getEffectiveRPrUsingPStyleRPr(rPr, pRPr
);
:
/* eg
*
<w:r>
<w:rPr>
<w:rFonts w:ascii="Courier New" w:cs="Times New Roman" />
</w:rPr>
<w:t>English العربية</w:t>
</w:r>
*/
:
RFonts rFonts
= rPr.
getRFonts();
Parsed in 0.013 seconds, using
GeSHi 1.0.8.4
Hope this helps .. Jason