Skip to content

Commit

Permalink
v146
Browse files Browse the repository at this point in the history
  • Loading branch information
inanevin committed Jun 11, 2023
1 parent 4430b42 commit db99449
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ add_library(Lina::VG ALIAS ${PROJECT_NAME})
target_include_directories(${PROJECT_NAME} PUBLIC ${PROJECT_SOURCE_DIR}/include)
target_compile_definitions(${PROJECT_NAME} PUBLIC LINAVG_VERSION_MAJOR=1)
target_compile_definitions(${PROJECT_NAME} PUBLIC LINAVG_VERSION_MINOR=4)
target_compile_definitions(${PROJECT_NAME} PUBLIC LINAVG_VERSION_PATCH=5)
target_compile_definitions(${PROJECT_NAME} PUBLIC LINAVG_VERSION_PATCH=6)

#--------------------------------------------------------------------
# Subdirectories & linking
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Drawer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3255,7 +3255,7 @@ namespace LinaVG
CharacterInfo ci;
ci.x = v0.pos.x;
ci.y = v3.pos.y;
ci.sizeX = w;
ci.sizeX = Math::IsEqualMarg(w, 0.0f) ? (kerning + ch.m_advance.x) * scale : w;
ci.sizeY = ybot - ytop;
outData->characterInfo.push_back(ci);
}
Expand Down

0 comments on commit db99449

Please sign in to comment.