Kovid Goyal
e0ef563885
Use glfw primary monitor content scale for logical DPI on macOS as well
...
It gives the correct DPI value on a MacBook Air monitor, while physical
DPI is too high, leading to overlarge fonts.
2017-12-12 23:47:42 +05:30
Kovid Goyal
2e570e21a0
Ensure kitty is on the PATH when running from kitty.app
2017-12-12 23:29:01 +05:30
Kovid Goyal
a962a28b36
...
2017-12-12 22:23:16 +05:30
Kovid Goyal
898395253b
Add test for ignored color id in SGR colon based color sequence
2017-12-12 18:50:37 +05:30
Kovid Goyal
346a9f68b1
Fix #227
2017-12-12 18:38:52 +05:30
Kovid Goyal
dbf8eb773c
Add a FAQ entry about building kitty.app
2017-12-12 09:49:41 +05:30
Kovid Goyal
47ed1a4dca
Make update-on-ox not depend on remote script
2017-12-11 23:11:34 +05:30
Kovid Goyal
4c566ee37f
Clarify FAQ entry further
2017-12-11 21:38:16 +05:30
Kovid Goyal
a29b424477
CoreText: Implement resizing of glyphs too wide to fit
2017-12-11 20:34:23 +05:30
Kovid Goyal
56a30a014c
Fix compilation order reversed
2017-12-11 20:28:36 +05:30
Kovid Goyal
abdc149f65
Update travis script
2017-12-11 19:10:00 +05:30
Kovid Goyal
005c4bf29e
Finish up CoreText based rendering
2017-12-11 19:04:44 +05:30
Kovid Goyal
c86c166448
More work on positioning glyphs with CoreText
2017-12-11 18:48:14 +05:30
Kovid Goyal
0999ce159e
Fix colors incorrect when rendering directly to buf
2017-12-11 10:43:32 +05:30
Kovid Goyal
98d8ab2953
Fix OT shaper not working on macOS
...
Also dont keep an extra reference to the hb font in fonts.c
2017-12-11 09:48:20 +05:30
Kovid Goyal
5407fa72b4
Start work on rendering with CoreText
2017-12-10 20:28:06 +05:30
Kovid Goyal
e332522a61
Mark backend API in fonts.h header
2017-12-10 09:21:46 +05:30
Kovid Goyal
ee27f23862
Add rgba and lcdfilter fields to the fc-dict
2017-12-09 12:58:23 +05:30
Kovid Goyal
b1853ca966
Dont insist color fonts have bitmaps
2017-12-09 12:01:43 +05:30
Kovid Goyal
ed2e83654f
Draw emoji on macOS using CoreText rather than FreeType
...
Needed because FreeType cannot handle the latest version of the Apple
Color Emoji font, which probably uses SVG-in-OTF instead of SBIX.
Finishes up the color emoji implementation.
2017-12-09 12:01:43 +05:30
Kovid Goyal
ec6dcd53b5
Finish up placement of color emojis
...
Note that for some reason rendering is broken on Apple
2017-12-09 12:01:43 +05:30
Kovid Goyal
0b6fe99611
Report errors rendering glyphs
2017-12-09 12:01:43 +05:30
Kovid Goyal
03847b15f6
Implement downsampling of color emoji bitmaps
...
Still need to fix placement of the downsampled bitmaps in the cell
2017-12-09 12:01:43 +05:30
Kovid Goyal
8d7515bd9b
Basic color emoji rendering working
...
Still need to downscale color bitmaps to fit into cells
2017-12-09 12:01:43 +05:30
Kovid Goyal
e4b839742c
Add option to control using color emoji or not
2017-12-09 12:01:43 +05:30
Kovid Goyal
f3cdf4194a
Prefer color emoji fonts
2017-12-09 12:01:43 +05:30
Kovid Goyal
ef6f4c2fbf
Improve fontconfig fallback font queries for emoji
2017-12-09 12:01:43 +05:30
Kovid Goyal
9cda51b5a8
Store sprites in an RGBA texture
...
Needed to support color emoji
2017-12-09 12:01:42 +05:30
Kovid Goyal
b8093d6b83
...
2017-12-09 11:28:49 +05:30
Kovid Goyal
ffedc5d170
...
2017-12-09 11:01:32 +05:30
Kovid Goyal
f223cd4b56
Set use_system_wcwidth to no by default
...
I am tired of seeing the endless bug reports from people running on
systems with outdated wcwidth() implementations.
2017-12-09 10:53:13 +05:30
Kovid Goyal
111c7fa57c
Ensure config file is always decoded as UTF-8
2017-12-08 01:27:35 +05:30
Kovid Goyal
e630abfe7f
Revert change to use libpng16
...
Does not fix the OP's problem.
2017-12-06 21:10:48 +05:30
Kovid Goyal
11b17c09ce
Call pkg-config with libpng16 instead of libpng
...
Should fix compilation on linux systems that have libpng12 as their
default libpng. libpng16 was released over five years ago! Sigh...
Fixes #216
2017-12-06 20:54:46 +05:30
Kovid Goyal
466d96c167
Remove spurious call to Py_DECREF
2017-12-06 10:13:57 +05:30
Kovid Goyal
c90223e4c8
Report unknown CSI r sequences
2017-12-06 00:31:03 +05:30
Kovid Goyal
01324a7ad2
Reduce the rescale threshold from 133% to 125%
2017-12-05 23:32:40 +05:30
Kovid Goyal
122ad8a1f8
Detect if a freetype font has color tables
2017-12-05 23:31:26 +05:30
Kovid Goyal
138bfcf2a8
Fix key-presses mapped to CSI codes not respecting SC81t mode
2017-12-05 20:21:13 +05:30
Kovid Goyal
c95418a947
Remove unused code
2017-12-05 20:21:13 +05:30
Kovid Goyal
b191727567
Some simple tests for sc81t
2017-12-05 20:21:12 +05:30
Kovid Goyal
c17c6cae4c
Support S8C1T mode
...
That is, eight bit control codes. When in S8C1T mode, kitty will send
only eight bit control codes to the client.
2017-12-05 20:21:12 +05:30
Kovid Goyal
ed9b332da5
Add an option to control the underline style for highlighting URLs on mouse over
2017-12-05 12:28:10 +05:30
Kovid Goyal
e8441ce697
Ensure double underline is gapped even when underline thickness is less than three pixels
2017-12-05 11:42:35 +05:30
Kovid Goyal
f2d00589d8
Update test to match new set of pre-rendered sprites
2017-12-04 12:41:50 +05:30
Kovid Goyal
e81ba3b207
Change undercurl escape code to 4:x
...
See https://github.com/neovim/neovim/issues/7479
for discussion. Also implement double underline.
2017-12-04 12:26:50 +05:30
Kovid Goyal
27cd303a05
Centralize code to convert to SGR
...
Conversion from formatting attributes to SGR now always goes through a
Cursor.
2017-12-04 10:51:06 +05:30
Kovid Goyal
52ecdfe3a9
Fix incorrect termcap query responses
...
Did not realize that the responses had to be processed via tparm() i.e.
they should be the actual bytes not the textual representation of them.
This broke the backspace key in vim.
2017-12-03 21:34:55 +05:30
Kovid Goyal
70f71e8ada
Fix #211
2017-12-03 00:30:11 +05:30
Kovid Goyal
d12063daad
Add configurable shortcuts to go to a tab by number
...
Fixes #208
2017-12-02 16:31:40 +05:30