Fix bad refactoring in CXFA_TextParser::GetFont()

CL [1] made a mistake and replaced an italic font style constant with
the bold font style. Undo that so GetFont() makes more sense.

[1] https://pdfium-review.googlesource.com/c/pdfium/+/15071/5/xfa/fxfa/cxfa_textparser.cpp

Change-Id: I5aac4358bcf5fe6951a76496fd67e08454858d98
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/127030
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
Reviewed-by: Thomas Sepez <tsepez@google.com>
diff --git a/xfa/fxfa/cxfa_textparser.cpp b/xfa/fxfa/cxfa_textparser.cpp
index 4ab7d3b..363ac63 100644
--- a/xfa/fxfa/cxfa_textparser.cpp
+++ b/xfa/fxfa/cxfa_textparser.cpp
@@ -348,7 +348,7 @@
       dwStyle |= pdfium::kFontStyleForceBold;
     }
     if (font->IsItalic()) {
-      dwStyle |= pdfium::kFontStyleForceBold;
+      dwStyle |= pdfium::kFontStyleItalic;
     }
   }