Comments (11)
Please run the tests https://github.com/eosrei/emojione-color-font/tree/master/linux/tests It'll confirm whether your fontconfig is setup correctly. You'll need both files.
from emojione-color-font.
Results:
diff current-results.test expected-results.test
Font: sans Font: sans
Vera.ttf: "DejaVu Sans" "Roman" | Vera.ttf: "Bitstream Vera Sans" "Roman"
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular" EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Font: sans-serif Font: sans-serif
Vera.ttf: "DejaVu Sans" "Roman" | Vera.ttf: "Bitstream Vera Sans" "Roman"
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular" EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Font: serif Font: serif
VeraSe.ttf: "DejaVu Serif" "Roman" | VeraSe.ttf: "Bitstream Vera Serif" "Roman"
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular" EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Font: mono Font: mono
VeraMono.ttf: "DejaVu Sans Mono" "Roman" | VeraMono.ttf: "Bitstream Vera Sans Mono" "Roman"
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular" EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Font: monospace Font: monospace
VeraMono.ttf: "DejaVu Sans Mono" "Roman" | VeraMono.ttf: "Bitstream Vera Sans Mono" "Roman"
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular" EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Font: Bitstream Vera Sans Font: Bitstream Vera Sans
DejaVuSans.ttf: "DejaVu Sans" "Book" | Vera.ttf: "Bitstream Vera Sans" "Roman"
DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold" | EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Font: Bitstream Vera Serif Font: Bitstream Vera Serif
DejaVuSerif.ttf: "DejaVu Serif" "Book" | VeraSe.ttf: "Bitstream Vera Serif" "Roman"
DejaVuSerif-Bold.ttf: "DejaVu Serif" "Bold" | EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Font: Bitstream Vera Sans Mono Font: Bitstream Vera Sans Mono
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book" | VeraMono.ttf: "Bitstream Vera Sans Mono" "Roman"
DejaVuSansMono-Bold.ttf: "DejaVu Sans Mono" "Bold" | EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Font: emoji Font: emoji
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular" EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Vera.ttf: "DejaVu Sans" "Roman" | Vera.ttf: "Bitstream Vera Sans" "Roman"
Font: Emoji One Color Font: Emoji One Color
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular" EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Vera.ttf: "DejaVu Sans" "Roman" | Vera.ttf: "Bitstream Vera Sans" "Roman"
Font: Apple Color Emoji Font: Apple Color Emoji
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular" EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Vera.ttf: "DejaVu Sans" "Roman" | Vera.ttf: "Bitstream Vera Sans" "Roman"
Font: Segoe UI Emoji Font: Segoe UI Emoji
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular" EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Vera.ttf: "DejaVu Sans" "Roman" | Vera.ttf: "Bitstream Vera Sans" "Roman"
Font: Noto Color Emoji Font: Noto Color Emoji
EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular" EmojiOneColor-SVGinOT.ttf: "Emoji One Color" "Regular"
Vera.ttf: "DejaVu Sans" "Roman" | Vera.ttf: "Bitstream Vera Sans" "Roman"
Fontconfig tests: FAIL
I investigated a little more. Your fontconfig is stored as /etc/fonts/conf.avail/56-emojione-color-font.conf
.
I also have 57-dejavu-sans.conf
there:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<!-- /etc/fonts/conf.d/57-dejavu-sans.conf
Define aliasing and other fontconfig settings for
DejaVu Sans.
© 2006-2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
-->
<fontconfig>
<!-- Font substitution rules -->
<alias binding="same">
<family>Arev Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>Bepa</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>Bitstream Prima Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>Bitstream Vera Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>DejaVu LGC Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>Hunky Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>Olwen Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>SUSE Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>Verajja</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<!-- In case VerajjaPDA stops declaring itself as Verajja -->
<alias binding="same">
<family>VerajjaPDA</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<!-- Generic name assignment -->
<alias>
<family>DejaVu Sans</family>
<default>
<family>sans-serif</family>
</default>
</alias>
<!-- Generic name aliasing -->
<alias>
<family>sans-serif</family>
<prefer>
<family>DejaVu Sans</family>
</prefer>
</alias>
</fontconfig>
I'm groping in the dark, but I hope I managed to provide something useful.
from emojione-color-font.
The 57-dejavu-sans.conf
looks standard. I did a number of tests with @edgemaster in #29 to test this fontconfig, but I've personally only used it on Ubuntu/Fedora. The problem probably is, as you can see, something in your fontconfig is identifying Bitstream Vera incorrectly as DejaVu:
Vera.ttf: "DejaVu Sans" "Roman" | Vera.ttf: "Bitstream Vera Sans" "Roman"
You could try changing the 56 to another number??? The output on your system needs to match the expected file. You can do tests with fc-match sans | head -n2
or similar to determine what is different in your fontconfig.
(I'm amazed how much hassle fontconfig has been. I thought making the font itself was going to be the most difficult part.)
from emojione-color-font.
Do you also have ttf-bitstream-vera installed? I've only got it marked as an optional dependency ("for bug-free font fallback") due to a previous comment on the AUR page complaining that it was a mandatory installation.
from emojione-color-font.
Ah ha! YES. Bitstream Vera is required to use the provided fontconfig. It is required in my Launchpad PPA.
To keep DejaVu, such in #36, the (only?) solution is to manually subset DejaVu to remove all emoji characters using NotoTools.
Ideal long term solution: DejaVu must be modified to keep all Unicode Emoji out of the default font like the default Windows and OS X font families. Edit: Maybe add a DejaVu Emoji font separately.. IDK
from emojione-color-font.
Released 1.0-2 to AUR with ttf-bitstream-vera as a required dependency. Apologies for missing this previously.
from emojione-color-font.
Great! There are many options to create custom fontconfigs or subset fonts, but I want to provide a general "just works" for most users. Advanced users know what to do.
from emojione-color-font.
@TamasBarta Can you confirm if BitstreamVera is installed?
from emojione-color-font.
Sorry for being unavailable lately. I have BitstreamVera installed, and DejaVu as well. The packages I have installed (for those familiar with Arch) are ttf-dejavu
and ttf-bitstream-vera
.
Also I installed the latest version of edgemaster's package from AUR, but that made no difference.
from emojione-color-font.
I've installed Evolution on my machine (Ubuntu 14.04) version: 3.10.4 and have reproduced this issue. Steps to reproduce:
- Install evolution
- Start evolution and skip setup wizard
- Create a new email
- Type some characters
- Save the Draft
- View the Draft in the preview pane.
DejaVu being selected instead of Vera by your fontconfig is a separate issue:
Vera.ttf: "DejaVu Sans" "Roman" | Vera.ttf: "Bitstream Vera Sans" "Roman"
from emojione-color-font.
Note, this issue is open until I add it to both emoji font readme files. AFAIK there's nothing I can do in the font file or fontconfig to change this. A bug report should be opened against Evolution regarding it.
from emojione-color-font.
Related Issues (20)
- Is it supported on the terminal ? HOT 3
- Color emojis in PhantomJS? HOT 2
- Broken Arch link in the installation guide. HOT 1
- Outlook.com HOT 3
- Link to EmojiOneColor-SVGinOT-1.3-Win.zip is 404.
- Missing fonts after installing EmojiOne HOT 2
- Add Unicode 10.0 support HOT 2
- Update to EmojiOne 3.1.1 HOT 1
- [Firefox 55] gfx.font_rendering.fontconfig.fontlist.enabled workaround no longer works HOT 10
- [Windows] Font-Cache When Replacing Segoe UI Emoji HOT 2
- On Linux ask for a different font HOT 6
- Ubuntu: Don't replace Ubuntu Font with Bitstream Vera [feature request] HOT 8
- Release EmojiTwo as an SVGinOT font HOT 1
- Whats the deal with Chrome? HOT 2
- Emoji not scaled properly in Windows 10 On-screen keyboard HOT 1
- Could you please explain how to add new symbols? HOT 4
- Scroll emoji is broken HOT 2
- Alien and moneybag emoji are broken on Ubuntu 16.04 HOT 4
- EmojiOne for Ubuntu Artful Aardvark HOT 2
- not able to install in centos HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emojione-color-font.