Skip to content

Commit c8d121b

Browse files
author
zhangjipeng
committed
fix code style
1 parent 8b47fd7 commit c8d121b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/font/font_adapter_freetype2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ bool font_adapter::prepare_glyph(uint32_t code)
444444
m_impl->cur_glyph_index = FT_Get_Char_Index(m_impl->font, code);
445445

446446
int32_t error = FT_Load_Glyph(m_impl->font, m_impl->cur_glyph_index,
447-
m_impl->hinting ? FT_LOAD_DEFAULT : FT_LOAD_NO_HINTING);
447+
m_impl->hinting ? FT_LOAD_DEFAULT : FT_LOAD_NO_HINTING);
448448

449449
bool is_sys_bitmap = false;
450450
if (m_impl->font->glyph->format == FT_GLYPH_FORMAT_BITMAP) {

src/font/font_adapter_win32.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,10 +429,10 @@ bool font_adapter::prepare_glyph(uint32_t code)
429429

430430
GLYPHMETRICS gm;
431431
int32_t total_size = GetGlyphOutlineW(m_impl->dc, code, format, &gm,
432-
m_impl->buf_size, m_impl->buf, &m_impl->mat);
432+
m_impl->buf_size, m_impl->buf, &m_impl->mat);
433433
if (total_size < 0) {
434434
int32_t total_size = GetGlyphOutlineW(m_impl->dc, code, GGO_METRICS, &gm,
435-
m_impl->buf_size, m_impl->buf, &m_impl->mat);
435+
m_impl->buf_size, m_impl->buf, &m_impl->mat);
436436

437437
if (total_size < 0) {
438438
return false;

0 commit comments

Comments
 (0)