From a3d9950845e49fae8bf9fa79477dfae944a25ae9 Mon Sep 17 00:00:00 2001 From: alcatel Date: Thu, 4 Apr 2024 01:45:26 +0800 Subject: [PATCH] avoid example crash under centos 7.51 --- plotters/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plotters/Cargo.toml b/plotters/Cargo.toml index 31b4e60b..e436836a 100644 --- a/plotters/Cargo.toml +++ b/plotters/Cargo.toml @@ -32,10 +32,10 @@ optional = true path = "../plotters-svg" [target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies] -ttf-parser = { version = "0.17.0", optional = true } +ttf-parser = { version = "0.20.0", optional = true } lazy_static = { version = "1.4.0", optional = true } pathfinder_geometry = { version = "0.5.1", optional = true } -font-kit = { version = "0.11.0", optional = true } +font-kit = { version = "0.13.0", optional = true } ab_glyph = { version = "0.2.12", optional = true } once_cell = { version = "1.8.0", optional = true }