riched20: Add any paragraph numbering fonts to the font table.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2016-10-12 12:58:49 +01:00 committed by Alexandre Julliard
parent c185757993
commit 074fafab65
1 changed files with 4 additions and 0 deletions

View File

@ -274,6 +274,10 @@ ME_StreamOutRTFFontAndColorTbl(ME_OutStream *pStream, ME_DisplayItem *pFirstRun,
if (item->member.run.para != prev_para)
{
/* check for any para numbering text */
if (item->member.run.para->fmt.wNumbering)
add_font_to_fonttbl( pStream, item->member.run.para->para_num.style );
if ((pCell = item->member.para.pCell))
{
ME_Border* borders[4] = { &pCell->member.cell.border.top,