Commits
- 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:
fa325e9b42b0bdfb48857d1958d9fb7ceac55151
- From:
- Dan Cross <cross@gajendra.net>
- Date:
Trivial changes: whitespace and modes.
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 <cross@gajendra.net>
- Commit:
16d00819899260085ee10949012b07bf1c203db6
- From:
- Russ Cox <rsc@swtch.com>
- Date:
libdraw: redo default font construction to be hidpi-safe
If $font is not set, the default font is constructed from
font data linked into every libdraw binary. That process
was different from the usual openfont code, and so it was
not hidpi-aware, resulting in very tiny fonts out of the box
on hidpi systems, until users set $font.
Fix this by using openfont to construct the default font,
by recognizing the name *default* when looking for
font and subfont file contents. Then all the hidpi scaling
applies automatically.
As a side effect, the concept of a 'default subfont' is gone,
as are display->defaultsubfont, getdefont, and memgetdefont.
- 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:
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:
76f90e51459082e3dd93f80e310635c6d37044e2
- From:
- Russ Cox <rsc@swtch.com>
- Date:
fontsrv: add half-documented -s option
- Commit:
9b4a2324d39a8c952c8184249d2b06b9349205a2
- From:
- Russ Cox <rsc@swtch.com>
- Date:
merge