Huw Davies : riched20: Add any paragraph numbering fonts to the font table.
Module: wine Branch: master Commit: 074fafab6577963cd74ed97f2c846d4d6a0c88ee URL: http://source.winehq.org/git/wine.git/?a=commit;h=074fafab6577963cd74ed97f2c... Author: Huw Davies <huw(a)codeweavers.com> Date: Wed Oct 12 12:58:49 2016 +0100 riched20: Add any paragraph numbering fonts to the font table. Signed-off-by: Huw Davies <huw(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/riched20/writer.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/riched20/writer.c b/dlls/riched20/writer.c index fe8c797..c3359c1 100644 --- a/dlls/riched20/writer.c +++ b/dlls/riched20/writer.c @@ -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,
participants (1)
-
Alexandre Julliard