Kovid Goyal
54b802f1e6
Ensure bounds in add_dline()
2017-12-13 13:45:11 +05:30
Kovid Goyal
d097403a12
Implement select-by-rectangle when holding down Ctrl+Alt
...
Fixes #225
2017-12-13 13:26:55 +05:30
Kovid Goyal
c81a8216dc
Limit the max number of lines to extend URLs over
2017-12-13 12:18:35 +05:30
Kovid Goyal
95683c658b
When hovering over a URL, highlight the URL fully even if it continues over multiple lines. Note that URL detection has not changed. A URL will be detected only if the mouse hovers over the line containing the start of the URL.
2017-12-13 11:11:13 +05:30
Kovid Goyal
d25c0d42bc
CoreText: Ensure cell_width and cell_height are never zero
2017-12-13 09:35:50 +05:30
Kovid Goyal
77f0328f4f
Ensure mouse cursor is in default state when focus is switched to the OSWindow
2017-12-13 08:54:11 +05:30
Kovid Goyal
a1b4f7c92d
Fix COreText leak on exit
2017-12-13 08:27:33 +05:30
Kovid Goyal
47704f24c1
CoreText: Get rid of the line height fudge factor
...
It was leading to larger line heights than in iTerm on High Sierra with
Menlo. Also as per Apple documentation, line height should be ascent +
descent + leading.
https://developer.apple.com/library/content/documentation/TextFonts/Conceptual/CocoaTextArchitecture/TypoFeatures/TextSystemFeatures.html
2017-12-13 08:22:26 +05:30
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