[PATCH 1/5] riched20: Add any paragraph numbering fonts to the font table.

Huw Davies huw at codeweavers.com
Wed Oct 12 06:58:49 CDT 2016


Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 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,
-- 
2.8.2




More information about the wine-patches mailing list