为什么?如何修复? 16.10中的10px太小("p“- 10px),但14.04正常字体大小("p”- 11px) 11px太大("p“- 12px)
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"发布于 2017-01-22 04:46:42
嗯..。我在ubuntu freetype 2.5.2中找到了这个路径,并修复了错误!
示例:https://bugs.freedesktop.org/attachment.cgi?id=129090
# Description: revert commit which creates regressions in gtk
# Ubuntu: https://bugs.launchpad.net/freetype/+bug/972223
# Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636776
--- a/src/truetype/ttdriver.c
+++ b/src/truetype/ttdriver.c
@@ -246,10 +246,7 @@
FT_Request_Metrics( size->face, req );
if ( FT_IS_SCALABLE( size->face ) )
- {
error = tt_size_reset( ttsize );
- ttsize->root.metrics = ttsize->metrics;
- }
return error;
}https://stackoverflow.com/questions/41781713
复制相似问题