diff options
Diffstat (limited to 'fxbarcode/oned')
-rw-r--r-- | fxbarcode/oned/BC_OneDimWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxbarcode/oned/BC_OneDimWriter.cpp b/fxbarcode/oned/BC_OneDimWriter.cpp index c76817d138..9ad053db28 100644 --- a/fxbarcode/oned/BC_OneDimWriter.cpp +++ b/fxbarcode/oned/BC_OneDimWriter.cpp @@ -123,7 +123,7 @@ void CBC_OneDimWriter::CalcTextInfo(const ByteString& text, int32_t fontSize, float& charsLen) { std::unique_ptr<CFX_UnicodeEncodingEx> encoding = - FX_CreateFontEncodingEx(cFont, FXFM_ENCODING_NONE); + FX_CreateFontEncodingEx(cFont); size_t length = text.GetLength(); uint32_t* pCharCode = FX_Alloc(uint32_t, text.GetLength()); |