mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-16 09:02:22 -07:00
adjust font provider rasterization bounds to prevent off-by-one cutoffs
This commit is contained in:
@@ -450,6 +450,7 @@ fp_raster(Arena *arena, FP_Handle font_handle, F32 size, FP_RasterFlags flags, S
|
||||
}
|
||||
}
|
||||
atlas_dim.x -= right_side_bearing;
|
||||
atlas_dim.x += 2;
|
||||
atlas_dim.x += 7;
|
||||
atlas_dim.x -= atlas_dim.x%8;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user