<feed xmlns='http://www.w3.org/2005/Atom'>
<title>plan9port/src/cmd/fontsrv, branch patch</title>
<subtitle>Plan 9 from User Space (with patches)</subtitle>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/'/>
<entry>
<title>all: remove need for `-fcommon`</title>
<updated>2025-07-25T16:25:11+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2025-07-23T10:47:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=156e745be9f6a1b19b0f8e2a931148786d7acad4'/>
<id>156e745be9f6a1b19b0f8e2a931148786d7acad4</id>
<content type='text'>
Use `extern` where appropriate so that we can remove `-fcommon`
on macOS and others.  On macOS, `-fcommon` generates a number of
linker warnings.

I've tested building on macOS, Linux, FreeBSD, NetBSD, OpenBSD
and illumos.  I am not in a position to test on AIX or other
more esoteric platforms, however.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use `extern` where appropriate so that we can remove `-fcommon`
on macOS and others.  On macOS, `-fcommon` generates a number of
linker warnings.

I've tested building on macOS, Linux, FreeBSD, NetBSD, OpenBSD
and illumos.  I am not in a position to test on AIX or other
more esoteric platforms, however.
</pre>
</div>
</content>
</entry>
<entry>
<title>fontsrv: always compute new height and ascent for the font file</title>
<updated>2022-07-26T16:15:07+00:00</updated>
<author>
<name>Xiao-Yong Jin</name>
<email>xjin@anl.gov</email>
</author>
<published>2020-07-16T16:50:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=1fcdefc5854ff5708ad545eb047075838eda55ff'/>
<id>1fcdefc5854ff5708ad545eb047075838eda55ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>src/cmd/fontsrv: pad subfile names to support correct file length</title>
<updated>2022-07-26T16:06:12+00:00</updated>
<author>
<name>Kyle Nusbaum</name>
<email>kyle@datadog.com</email>
</author>
<published>2022-01-10T22:19:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=bb4b8acc26034791cb60bddf66924babb22e4522'/>
<id>bb4b8acc26034791cb60bddf66924babb22e4522</id>
<content type='text'>
For fonts with subfiles that go beyond the xffff range, the font file size
calculation is incorrect, since lines beyond that range have additional
characters. This patch pads all of the ranges and subfont names with
leading zeros in order to keep them all lines the same length and fixes the
font file length calculation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For fonts with subfiles that go beyond the xffff range, the font file size
calculation is incorrect, since lines beyond that range have additional
characters. This patch pads all of the ranges and subfont names with
leading zeros in order to keep them all lines the same length and fixes the
font file length calculation.
</pre>
</div>
</content>
</entry>
<entry>
<title>fontsrv: fix handling of colored glyphs (emoji)</title>
<updated>2020-08-15T13:10:54+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-08-15T13:10:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=9843fc0d82c68c78059ccb167e8402def5a4ee1f'/>
<id>9843fc0d82c68c78059ccb167e8402def5a4ee1f</id>
<content type='text'>
Drawing as white on black to produce a mask only works if
the white on black is the inversion of black on white.
Emoji that force use of specific colors don't respect that.
Draw black on white and invert to mask separately.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Drawing as white on black to produce a mask only works if
the white on black is the inversion of black on white.
Emoji that force use of specific colors don't respect that.
Draw black on white and invert to mask separately.
</pre>
</div>
</content>
</entry>
<entry>
<title>fontsrv: fix compilation on X11 (#420)</title>
<updated>2020-06-04T17:55:26+00:00</updated>
<author>
<name>Gregor Best</name>
<email>gbe@unobtanium.de</email>
</author>
<published>2020-06-04T17:55:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=c3d31baca0a73a9e8033db8a0b47093233c636c1'/>
<id>c3d31baca0a73a9e8033db8a0b47093233c636c1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fontsrv: scale f-&gt;originy to match f-&gt;height on x11</title>
<updated>2020-05-30T01:02:10+00:00</updated>
<author>
<name>dzklaim</name>
<email>smooth.rp@gmail.com</email>
</author>
<published>2020-05-30T01:02:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=2c70acc3ab751ab1ccb1999f1d22310ad8c35b27'/>
<id>2c70acc3ab751ab1ccb1999f1d22310ad8c35b27</id>
<content type='text'>
Co-authored-by: dzklaim &lt;smmoth.rp@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: dzklaim &lt;smmoth.rp@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>fontsrv: handle non-BMP runes on X11</title>
<updated>2020-05-30T00:58:37+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-05-26T15:36:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=5f0fa185d0a978b45de5bf206193769596c056b5'/>
<id>5f0fa185d0a978b45de5bf206193769596c056b5</id>
<content type='text'>
Have to adjust algorithms to deal with
much larger number of subfont files as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Have to adjust algorithms to deal with
much larger number of subfont files as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>devdraw: use consistent mac-* prefix on macOS files</title>
<updated>2020-01-13T21:46:14+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-01-09T01:07:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=933b98054f40bb224acda134d7bb77a023bcc57f'/>
<id>933b98054f40bb224acda134d7bb77a023bcc57f</id>
<content type='text'>
We were using osx- and cocoa- but it's not even OS X anymore.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were using osx- and cocoa- but it's not even OS X anymore.
</pre>
</div>
</content>
</entry>
<entry>
<title>fontsrv: allow x11 hinting and disable autohint only (#254)</title>
<updated>2020-01-13T16:02:13+00:00</updated>
<author>
<name>Xiao-Yong</name>
<email>xjin@anl.gov</email>
</author>
<published>2020-01-13T16:02:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=cc48e73a96c863784fb0bc46e69bccf509890827'/>
<id>cc48e73a96c863784fb0bc46e69bccf509890827</id>
<content type='text'>
Some truetype fonts have good manual hinting.
Ignoring hinting makes the font render badly on low resolution screens.
This commit only disables the freetype autohinter, and allows hinting.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some truetype fonts have good manual hinting.
Ignoring hinting makes the font render badly on low resolution screens.
This commit only disables the freetype autohinter, and allows hinting.</pre>
</div>
</content>
</entry>
<entry>
<title>Trivial changes: whitespace and modes.</title>
<updated>2020-01-10T14:54:30+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2020-01-10T14:44:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=fa325e9b42b0bdfb48857d1958d9fb7ceac55151'/>
<id>fa325e9b42b0bdfb48857d1958d9fb7ceac55151</id>
<content type='text'>
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
