Package Details: kitty-without-monolimit-git 0.14.2.r168.g9368f7f6-1

Git Clone URL: https://aur.archlinux.org/kitty-without-monolimit-git.git (read-only, click to copy)
Package Base: kitty-without-monolimit-git
Description: A modern, hackable, featureful, OpenGL based terminal emulator (monospace font limit removed).
Upstream URL: https://github.com/kovidgoyal/kitty
Licenses: GPL3
Conflicts: kitty
Provides: kitty
Submitter: LightQuantum
Maintainer: LightQuantum
Last Packager: LightQuantum
Votes: 0
Popularity: 0.000000
First Submitted: 2019-07-17 10:45
Last Updated: 2019-07-17 10:50

Required by (5)

Sources (2)

Pinned Comments

LightQuantum commented on 2020-03-29 15:03

It seems that my original patch doesn't work any more.

For anyone who want to use an unsupported font, please refer to kitty wiki.

As the official document offers a better way to solve this problem, this patch is deprecated and I won't maintain this package anymore.

Feel free to email me if you have any problem or advice.

Latest Comments

LightQuantum commented on 2020-03-29 15:03

It seems that my original patch doesn't work any more.

For anyone who want to use an unsupported font, please refer to kitty wiki.

As the official document offers a better way to solve this problem, this patch is deprecated and I won't maintain this package anymore.

Feel free to email me if you have any problem or advice.

Leo_L commented on 2020-03-27 03:23

diff --color --unified --recursive --text kitty.orig/kitty/fonts/fontconfig.py kitty.new/kitty/fonts/fontconfig.py
--- kitty.orig/kitty/fonts/fontconfig.py    2020-03-27 05:17:33.225759327 +0200
+++ kitty.new/kitty/fonts/fontconfig.py 2020-03-27 05:18:53.236850350 +0200
@@ -71,12 +71,12 @@

 def find_best_match(family: str, bold: bool = False, italic: bool = False, monospaced: bool = True) -> FontConfigPattern:
     q = family_name_to_key(family)
-    font_map = all_fonts_map(monospaced)
+    font_map = all_fonts_map(False)

     def score(candidate: FontConfigPattern) -> Tuple[int, int]:
         bold_score = abs((FC_WEIGHT_BOLD if bold else FC_WEIGHT_REGULAR) - candidate.get('weight', 0))
         italic_score = abs((FC_SLANT_ITALIC if italic else FC_SLANT_ROMAN) - candidate.get('slant', 0))
-        monospace_match = 0 if candidate.get('spacing') == 'MONO' else 1
+        monospace_match = 1
         return bold_score + italic_score, monospace_match

     # First look for an exact match

Leo_L commented on 2020-03-14 21:39

==> Starting prepare()...
patching file kitty/fonts/fontconfig.py
Hunk #1 FAILED at 55.
1 out of 1 hunk FAILED -- saving rejects to file kitty/fonts/fontconfig.py.rej
==> ERROR: A failure occurred in prepare().
    Aborting...
Error making: kitty-without-monolimit-git