samuelngs / apple-emoji-linux

Brings Apple's vibrant emojis to your Linux experience
Apache License 2.0
776 stars 55 forks source link

Emojis are a bit larger. #17

Closed luojinrong closed 7 months ago

luojinrong commented 2 years ago

When I used the ttf file you generated from Release Page, I found that the font of emoji is bigger than the ttf that comes with my mac.

Use the ttf from my mac:

image

It can be seen from the above that the size of the emoji is the same as the text.

Use the ttf from this repo:

image

You can see from the above that the size of the emoji is larger than the text.

dmlls commented 2 years ago

Hi @luojinrong, thanks for your issue. I'm not sure I'm getting it right... Did you install the font on macOS or Linux?

luojinrong commented 2 years ago

I'm just comparing the difference between the font you generated and the MAC native font.

I think since what you are doing is an alternative to Apple Emoji on Linux, it should be consistent with the MAC native font on the display.

dmlls commented 2 years ago

@luojinrong in order to try to solve this, we need further information:

  1. Does this issue happen on macOS or on Linux?
  2. How did you install the fonts?
  3. Where are the screenshots taken from? (e.g., browser, text editor...?)
colawithsauce commented 10 months ago

@dmlls I also met this problem, its on wezterm. and the font is very large. like this

image

My system is Archlinux, I install font by put the file into ~/.local/share/fonts and run fc-cache -f -v.

dmlls commented 10 months ago

@colawithsauce Could you try installing the font from the AUR? This will correctly configure the fontconfig files for you.

Otherwise, could you try adding the fontconfig file manually?

colawithsauce commented 10 months ago

I tried adding the fontconfig file manually. @dmlls the problem still here: image

dmlls commented 10 months ago

@colawithsauce could you try installing it as a package just to try out all possibilities?

I'm also on Arch Linux (KDE Wayland) and unfortunately I can't replicate this:

Wezterm console with emoji
colawithsauce commented 10 months ago

Sorry, It should be an issue of wezterm! It seems that it doesn't respect fontconfig settings enough. I config my font at wezterm:

-- Font
config.font = wezterm.font_with_fallback({
    "Apple Color Emoji",
    "Recursive Mono Linear Static",
    "LXGW WenKai Mono",
    "98WB-1",
})

and I got this image However, I have similar configuration on Kitty, the display become normal. Sorry for my disturbing...

dmlls commented 10 months ago

@colawithsauce good to hear the issue is solved. And funny those blue emoji! :D