On Sat, Jun 27, 2020 at 04:14:35PM +0200, Christopher Zimmermann wrote:
> Hi,
>
> I'm trying to fix monospace bitmap font support for gvim (gtk-2 flavor),
> which has been broken since pango 1.44.
> It requires several changes:
>
> 1. fix metrics rounding in vim https://github.com/vim/vim/pull/6168,
> already included in our vim port.
> 2. fix fonttosfnt in our xenocara or rely on something like fontforge for
> the same job.
> (https://gitlab.freedesktop.org/xorg/app/fonttosfnt/-/merge_requests/7)
> 3. fix pango, so it does not accidentally use unsupported pcf fonts when
> supported OpenType fonts are present:
> https://gitlab.gnome.org/GNOME/pango/-/issues/484
> 4. ship bitmap fonts in an OpenType container, too.
>
> Attached is a diff to update pango to the latest release and backport above
> mentioned fix.
>
> I have only very little knowledge on shared library versioning, so please
> check that I've got that part right.
>
> I had to rebuild and reinstall gtk and vim to make vim actually use the
> patched pango.
>
> This patch is needed so we can start shipping bitmap fonts in OpenType
> containers (.otb).
>
> Still waiting for matthieu@ regarding the fonttosfnt patch.
Hmm, sorry. Thanks for reminding me of this.
I'm also far from an expert, but since it works for you and another
person and doesn't seem to break any other use, then ok matthieu@
for the xenocara part.
I think I'll have to take care of the upstream merge request myself
too.
--
Matthieu Herrb
No comments:
Post a Comment