<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
This is not the right mailing list to discuss problems in specific
components. I'm redirecting this to client-libs-dev.<br>
<br>
-- Kevin<br>
<br>
<div class="moz-cite-prefix">On 1/4/2024 9:13 PM, 林kurn wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAOZEU6jeMQgBX1gDccYpAyWS0Hc=V=TqAQzA9WXP6oTWu5032w@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>
<div><font face="arial, sans-serif" color="#000000">Here are the problems I found,
and here is a patch
that may fix them.<br>
</font></div>
<div><font face="arial, sans-serif" color="#000000"><br>
</font></div>
<div><font face="arial, sans-serif" color="#000000">1. The font manager uses the
default logical font
as the fallback font.</font></div>
</div>
<div><font face="arial, sans-serif" color="#000000">On Linux
systems, we can use
fontconfig to get a
matching list of fonts. </font></div>
<div><font face="arial, sans-serif" color="#000000">So, I
added a new fallback
method,
FONTCONFIGURATION_FALLBACK,
and implemented it for
Linux systems using
fontconfig.<br>
</font></div>
<div><font face="arial, sans-serif" color="#000000"><br>
</font></div>
<div><font face="arial, sans-serif" color="#000000">2. The
FileFont object have no
fallback ability when
rendering.</font></div>
<div><font face="arial, sans-serif" color="#000000">I make
the FileFont class
implement the
FontSubstitution
interface and reuse the
fallback method on
first.</font></div>
<div><font face="arial, sans-serif" color="#000000">This
enhances text display on
Linux systems that
frequently use FileFont
objects, reduce the
inability to display
characters in multiple
languages when using
physical fonts.<br>
</font></div>
<div><font color="#000000"><br>
</font></div>
<div><font color="#000000">I
know my patch still
requires improvement,
and I haven't adapted it
for Windows and Mac. But
I hope this will lead
to </font><span style="color:rgb(0,0,0);font-family:arial,sans-serif">further discussion</span><font face="arial, sans-serif" color="#000000">,
eventually we can
improve these problems</font><span style="color:rgb(0,0,0);font-family:arial,sans-serif">.</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>