From 1b5dd62b71d8d9b657b0cd7c138c9dc523a07cc4 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 17 Mar 2021 14:58:11 +1100 Subject: Change Font to an interface and stop using FontID. Fonts are shared and reference counted using std::shared_ptr. This optimizes memory and reduces potential for allocation bugs. --- src/PositionCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PositionCache.h') diff --git a/src/PositionCache.h b/src/PositionCache.h index 7573a2dc3..8968092e7 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -46,7 +46,7 @@ enum PointEnd { class BidiData { public: - std::vector stylesFonts; + std::vector> stylesFonts; std::vector widthReprs; void Resize(size_t maxLineLength_); }; -- cgit v1.2.3