unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#60684] [PATCH 0/1] Add font-google-noto-emoji
@ 2023-01-09  1:00 Fredrik Salomonsson
  2023-01-09  1:05 ` [bug#60684] [PATCH 1/1] gnu: " Fredrik Salomonsson
  0 siblings, 1 reply; 3+ messages in thread
From: Fredrik Salomonsson @ 2023-01-09  1:00 UTC (permalink / raw)
  To: 60684; +Cc: Fredrik Salomonsson

Hi,

I ventured down a black hole trying to get emacs render colored emojis with
OpenMoji. But whatever I tried they were still black and white. I noticed
though that using font-google-noto instead rendered emojis just fine in
color. It is really heavy and it's missing some emojis though. Therefore I
ended up package a newer version of Noto Color Emoji. It weights in at ~10MB
when built and covers the Unicode 15.0 standard.

Fredrik Salomonsson (1):
  gnu: Add font-google-noto-emoji.

 gnu/packages/fonts.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)


base-commit: 2463e9f1fe10a1d7e02dff76f200da69cd3f24d1
-- 
2.38.1





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#60684] [PATCH 1/1] gnu: Add font-google-noto-emoji.
  2023-01-09  1:00 [bug#60684] [PATCH 0/1] Add font-google-noto-emoji Fredrik Salomonsson
@ 2023-01-09  1:05 ` Fredrik Salomonsson
  2023-01-28  2:56   ` bug#60684: [PATCH 0/1] " 宋文武 via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Fredrik Salomonsson @ 2023-01-09  1:05 UTC (permalink / raw)
  To: 60684; +Cc: Fredrik Salomonsson

* gnu/packages/fonts.scm (font-google-noto-emoji): New variable.
---
 gnu/packages/fonts.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 95e99d5a73..c489e9891c 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -939,6 +939,36 @@ (define-public font-google-noto
 display all Unicode symbols.")
     (license license:silofl1.1)))
 
+(define-public font-google-noto-emoji
+  (package
+    (name "font-google-noto-emoji")
+    (version "2.038")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "https://github.com/googlefonts/noto-emoji/archive/refs/tags/v"
+                       version".tar.gz"))
+       (sha256
+        (base32
+         "15bi08nv5fwssm2cmhqd2mdj07dk1kirdvkxxpy2xs516fbv7n27"))))
+    (build-system font-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-unsupported
+            (lambda* _
+              (delete-file "fonts/NotoColorEmoji_WindowsCompatible.ttf")
+              (delete-file "fonts/Noto-COLRv1-noflags.ttf")
+              (delete-file "fonts/Noto-COLRv1.ttf"))))))
+    (home-page "https://fonts.google.com/noto/specimen/Noto+Color+Emoji")
+    (synopsis "Font for rendering color emoji characters")
+    (description
+     "This package provides the color emoji font from the Google Noto font
+family.")
+    (license license:silofl1.1)))
+
 (define-public font-google-noto-sans-cjk
   (package
     (name "font-google-noto-sans-cjk")
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#60684: [PATCH 0/1] Add font-google-noto-emoji
  2023-01-09  1:05 ` [bug#60684] [PATCH 1/1] gnu: " Fredrik Salomonsson
@ 2023-01-28  2:56   ` 宋文武 via Guix-patches via
  0 siblings, 0 replies; 3+ messages in thread
From: 宋文武 via Guix-patches via @ 2023-01-28  2:56 UTC (permalink / raw)
  To: Fredrik Salomonsson; +Cc: 60684-done

Fredrik Salomonsson <plattfot@posteo.net> writes:

> * gnu/packages/fonts.scm (font-google-noto-emoji): New variable.
> ---
>  gnu/packages/fonts.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)

Applied with fetching source via git, as the github generated tarballs
for tags maybe unstable.  Thank you!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-28  2:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-09  1:00 [bug#60684] [PATCH 0/1] Add font-google-noto-emoji Fredrik Salomonsson
2023-01-09  1:05 ` [bug#60684] [PATCH 1/1] gnu: " Fredrik Salomonsson
2023-01-28  2:56   ` bug#60684: [PATCH 0/1] " 宋文武 via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).