未验证 提交 bf9b72c6 编写于 作者: Z zdenop 提交者: GitHub

Merge pull request #1546 from noahmetzger/winfix

Fixed access to uninitialized variable
......@@ -120,6 +120,7 @@ StringRenderer::StringRenderer(const std::string& font_desc, int page_width,
font_index_(0),
last_offset_(0) {
set_resolution(kDefaultOutputResolution);
set_font(font_desc);
}
bool StringRenderer::set_font(const std::string& desc) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册