Comments (5)
Hey,
I am the maintainer of fontawesome5
. The problem is that the defaultfontfeatures
apply to Academicons, but they do not make any sense there: There are no lowercase characters, so their scale can not be matched. I think fontspec
should ignore MatchLowercase
here, so this might be a fontspec bug.
The fontawesome5
package avoids this by not using fontspec
. This should be possible even if "only" a ttf file is available, so if @diogo-fernan is interested I could write a Pull-Request to replace fontspec
with a .fd file tomorrow.
In the short term @JeffreyRacine could probably fix the problem by moving \usepackage{academicons}
before \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
.
from academicons.
Hey Jeffrey,
It appears that the issue might be related with the lack of an OpenType Font (OTF) file from the academicons font, which is not the case with fontawesome5 that ships with an *.otf file. This can be seen in tufontawesomebrands.fd
:
\DeclareFontShape{TU}{fontawesomebrands}{regular}{n}
{<-> \UnicodeFontFile{FontAwesome5Brands-Regular-400.otf}{script=latn;}}{}
I will try to address this in the coming days.
Cheers,
Diogo
from academicons.
Thanks for your kind response. It would be great to have this resolved, and accept my gratitude in advance. Best of luck!
from academicons.
Thanks for taking the time to look into this. I am using R Markdown and pandoc which automatically generates the placement of \usepackage{}, so your helpful suggestion works if I manually edit the LaTeX file that is created by pandoc... anything you can do is most appreciated to resolve the issue...
from academicons.
Feel free to make a pull request @zauguin :-)
Thanks!
Diogo
from academicons.
Related Issues (13)
- arXiv icon HOT 2
- \newfontfamily{\AI}{academicons.ttf} causes font not to be loaded on Windows 10 HOT 1
- Update to 1.8.6 icons HOT 3
- Using academicons in the ShareLatex plataform HOT 2
- \aiIdeasRepec issue.... HOT 1
- Invalid operation fp_to_decimal(inf) l.12 \newfontfamily{\AI}{academicons.ttf} HOT 2
- Does Not work in Overleaf Does it require loading the font as a custom font into the doc? HOT 2
- pdflatex support? HOT 1
- Scopus icon missing? HOT 1
- Academicons
- clarivate HOT 1
- Wrong arXiv icon (yet)
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 academicons.