Commits
- Commit:
c3d31baca0a73a9e8033db8a0b47093233c636c1
- From:
- Gregor Best <gbe@unobtanium.de>
- Via:
- GitHub <noreply@github.com>
- Date:
fontsrv: fix compilation on X11 (#420)
- Commit:
2c70acc3ab751ab1ccb1999f1d22310ad8c35b27
- From:
- dzklaim <smooth.rp@gmail.com>
- Via:
- GitHub <noreply@github.com>
- Date:
fontsrv: scale f->originy to match f->height on x11
Co-authored-by: dzklaim <smmoth.rp@gmail.com>
- Commit:
5f0fa185d0a978b45de5bf206193769596c056b5
- From:
- Russ Cox <rsc@swtch.com>
- Date:
fontsrv: handle non-BMP runes on X11
Have to adjust algorithms to deal with
much larger number of subfont files as well.
- Commit:
cc48e73a96c863784fb0bc46e69bccf509890827
- From:
- Xiao-Yong <xjin@anl.gov>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
fontsrv: allow x11 hinting and disable autohint only (#254)
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.
- Commit:
ed959cfba326356a5cdea1a12c8ac17b5365486c
- From:
- iru- <iru.muzgo@gmail.com>
- Via:
- Russ Cox <rsc@golang.org>
- Date:
fontsrv: increase x11 font height scale (#111)
- Commit:
c82e11b24e7a6aa03473111367cb792ce0537f61
- From:
- Xiao-Yong <jinxiaoyong@gmail.com>
- Via:
- Russ Cox <rsc@golang.org>
- Date:
fontsrv: x11 uses FC_POSTSCRIPT_NAME (#174)
This makes fontsrv use the PostScript font names on X11.
The PostScript font names contains only alphanumeric and
hyphens. This allows us to use the Font command in acme.
It also matches the font names used by fontsrv on macOS,
which has been using PostScript font names.
- Commit:
48da9bd71ddae0c51f8aff4c0d6806a8e32c4e23
- From:
- Fazlul Shahriar <fshahriar@gmail.com>
- Via:
- David du Colombier <0intro@gmail.com>
- Date:
fontsrv: copy some fixes from OS X to X11
* Avoid allocating empty images by adding 1 to width/height. This was
crashing fontsrv. The total width of the subfont image can be zero
even if the characters are present in the font. For example, all the
characters in x0300.bit (part of "Combining Diacritical Marks" Unicode
block) have zero width.
* Make sure U+0000 is always present in the font, otherwise libdraw
complains with: "stringwidth: bad character set for rune 0x0000 in ..."
* Use the same fallback glyph (pjw face) as OS X. This also fixes a bug
where advance was set to the total width of subfont instead of the
character.
Update #125 (most likely fixes the crash if in X11)
Change-Id: Icdc2b641b8b0c08644569006e91cf613b4d5477f
- Commit:
a3ec102dc7fee3d4ecb32ade5ec9d7de4b9b4304
- From:
- Xiao-Yong Jin <xjin@anl.gov>
- Via:
- David du Colombier <0intro@gmail.com>
- Date:
fontsrv: fix some memory leaks
- Commit:
775cb933ecea6361717ef1def27b5d9e90c385fd
- From:
- Russ Cox <rsc@swtch.com>
- Date:
fontsrv: use 64 chars per subfont instead of 256
Makes loading faster, and makes larger sizes not too wide.
Change-Id: I076c83fdb9577c1e596de45558f38ea93e3a2a31
Reviewed-on: https://plan9port-review.googlesource.com/1360
Reviewed-by: Russ Cox <rsc@swtch.com>
- Commit:
3aca22118d808597bc7451adc559d89460ed5a6e
- From:
- Russ Cox <rsc@swtch.com>
- Date:
fontsrv: fix x11 build
Change-Id: I60eca10d7749ec71dc2ffbb0fbde564a1b711fa1
Reviewed-on: https://plan9port-review.googlesource.com/1180
Reviewed-by: Russ Cox <rsc@swtch.com>
- Commit:
32dc15fa62d94c88f0b62bfe4d64ba60fe1733a6
- From:
- Russ Cox <rsc@swtch.com>
- Date:
fontsrv: use CoreText API on OS X
This gets us font fallback for free and avoids use of a
deprecated API that might go away some day.
Change-Id: I4b9b1a1ce3e6d98bfb407e3baea13f4adfe2c26a
Reviewed-on: https://plan9port-review.googlesource.com/1160
Reviewed-by: Russ Cox <rsc@swtch.com>
- Commit:
d67a3d3083b9a2186a96fd7f9a6de8af35499c85
- From:
- Ethan Burns <burns.ethan@gmail.com>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
fontsrv: disable X11 hinting
Discussion at:
https://groups.google.com/d/topic/plan9port-dev/L7RVkXPmrdY/discussion
https://github.com/9fans/plan9port/pull/7
Change-Id: I4f3a6791436120388ad8798e519f5e8473dd9306
Reviewed-on: https://plan9port-review.googlesource.com/1095
- Commit:
63002b3e5ab034ff1317c21b994b803cd68a6eee
- From:
- David du Colombier <0intro@gmail.com>
- Date:
fix gcc 4.8 warnings
LGTM=rsc
R=rsc
https://codereview.appspot.com/33240044
- Commit:
9c611279288ca016aeb214da4a23a8e2cce45027
- From:
- Yuval Pavel Zholkover <paulzhol@gmail.com>
- Via:
- Russ Cox <rsc@swtch.com>
- Date:
fontsrv: x11 support
R=rsc, 0intro
CC=plan9port.codebot
http://codereview.appspot.com/6739047
- Commit:
9b4a2324d39a8c952c8184249d2b06b9349205a2
- From:
- Russ Cox <rsc@swtch.com>
- Date:
merge