Skip to content

Commit

Permalink
Restore glyph rasterization patch
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkvdb committed May 3, 2024
1 parent e3d8dbc commit b69ad11
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ports/maplibregl-native/cmake-changes.patch
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,20 @@ index cd90220129..fb035e6ea7 100644
$<BUILD_INTERFACE:mbgl-vendor-parsedate>
$<BUILD_INTERFACE:mbgl-vendor-nunicode>
$<BUILD_INTERFACE:mbgl-vendor-csscolorparser>
diff --git a/platform/qt/src/mbgl/local_glyph_rasterizer.cpp b/platform/qt/src/mbgl/local_glyph_rasterizer.cpp
index 3a3e7c278c..a0c0ea5c16 100644
--- a/platform/qt/src/mbgl/local_glyph_rasterizer.cpp
+++ b/platform/qt/src/mbgl/local_glyph_rasterizer.cpp
@@ -40,8 +40,7 @@ LocalGlyphRasterizer::LocalGlyphRasterizer(const std::optional<std::string>& fon
LocalGlyphRasterizer::~LocalGlyphRasterizer() {}

bool LocalGlyphRasterizer::canRasterizeGlyph(const FontStack&, GlyphID glyphID) {
- return impl->isConfigured() && impl->metrics->inFont(glyphID) &&
- util::i18n::allowsFixedWidthGlyphGeneration(glyphID);
+ return impl->isConfigured() && impl->metrics->inFont(glyphID);
}

Glyph LocalGlyphRasterizer::rasterizeGlyph(const FontStack&, GlyphID glyphID) {
diff --git a/platform/windows/vendor/vcpkg b/platform/windows/vendor/vcpkg
index 501db0f17e..37fce29a26 160000
--- a/platform/windows/vendor/vcpkg
Expand Down

0 comments on commit b69ad11

Please sign in to comment.