Libertinus font on ubuntu, installed version vs. github version
I'm using the libertinus font family with the latest version coming from github. However, the font is also installed on my system, but I stopped using this version since there was a problem with the math font, which I must say I forgot about (there is a question about that on this site).
Until now I had no problems with that, but I noticed that some ligatures are missing in the github version (for example T_h). I looked into the font files with FontForge and it seems to me that the font is actually missing this ligature as well as others (only the basic ones are present, such as f_i).
Why is this? I would assume that the more recent font version would have, if anything, more ligatures. What happened to them?
Here is an example (I'm compiling with lualatex main.tex
)
documentclass{scrartcl}
usepackage{fontspec}
definstallpath{/path/to/local/fonts}
setmainfont{LibertinusSerif}[
UprightFont = *-Regular,
BoldFont = *-Bold,
ItalicFont = *-Italic,
BoldItalicFont = *-BoldItalic,
Ligatures = TeX,
Extension = .otf,
Path = installpath/
]
%setmainfont{Libertinus Serif}
begin{document}
Ligatures: ff fi fl ffi fft fb fh fj fk ft Qu Th
end{document}
fontspec typography ligatures libertinus
|
show 5 more comments
I'm using the libertinus font family with the latest version coming from github. However, the font is also installed on my system, but I stopped using this version since there was a problem with the math font, which I must say I forgot about (there is a question about that on this site).
Until now I had no problems with that, but I noticed that some ligatures are missing in the github version (for example T_h). I looked into the font files with FontForge and it seems to me that the font is actually missing this ligature as well as others (only the basic ones are present, such as f_i).
Why is this? I would assume that the more recent font version would have, if anything, more ligatures. What happened to them?
Here is an example (I'm compiling with lualatex main.tex
)
documentclass{scrartcl}
usepackage{fontspec}
definstallpath{/path/to/local/fonts}
setmainfont{LibertinusSerif}[
UprightFont = *-Regular,
BoldFont = *-Bold,
ItalicFont = *-Italic,
BoldItalicFont = *-BoldItalic,
Ligatures = TeX,
Extension = .otf,
Path = installpath/
]
%setmainfont{Libertinus Serif}
begin{document}
Ligatures: ff fi fl ffi fft fb fh fj fk ft Qu Th
end{document}
fontspec typography ligatures libertinus
How are you compiling?
– Ulrike Fischer
Feb 27 at 10:09
Sorry, I've added that to the question. (plainlualatex main.tex
)
– pschulz
Feb 27 at 11:33
Good riddance to T_h I say!
– Paul Stanley
Feb 27 at 11:39
Have you considered opening an issue on github? (Side remark: For me, the existence of the fj ligature is a good reason to be using the Libertinus font, since that combination is frequent in Norwegian. Glad to see it's still there.)
– Harald Hanche-Olsen
Feb 27 at 11:51
1
The Th ligature was moved after the release of 6.6 according to the change log.
– David Purton
Feb 27 at 12:44
|
show 5 more comments
I'm using the libertinus font family with the latest version coming from github. However, the font is also installed on my system, but I stopped using this version since there was a problem with the math font, which I must say I forgot about (there is a question about that on this site).
Until now I had no problems with that, but I noticed that some ligatures are missing in the github version (for example T_h). I looked into the font files with FontForge and it seems to me that the font is actually missing this ligature as well as others (only the basic ones are present, such as f_i).
Why is this? I would assume that the more recent font version would have, if anything, more ligatures. What happened to them?
Here is an example (I'm compiling with lualatex main.tex
)
documentclass{scrartcl}
usepackage{fontspec}
definstallpath{/path/to/local/fonts}
setmainfont{LibertinusSerif}[
UprightFont = *-Regular,
BoldFont = *-Bold,
ItalicFont = *-Italic,
BoldItalicFont = *-BoldItalic,
Ligatures = TeX,
Extension = .otf,
Path = installpath/
]
%setmainfont{Libertinus Serif}
begin{document}
Ligatures: ff fi fl ffi fft fb fh fj fk ft Qu Th
end{document}
fontspec typography ligatures libertinus
I'm using the libertinus font family with the latest version coming from github. However, the font is also installed on my system, but I stopped using this version since there was a problem with the math font, which I must say I forgot about (there is a question about that on this site).
Until now I had no problems with that, but I noticed that some ligatures are missing in the github version (for example T_h). I looked into the font files with FontForge and it seems to me that the font is actually missing this ligature as well as others (only the basic ones are present, such as f_i).
Why is this? I would assume that the more recent font version would have, if anything, more ligatures. What happened to them?
Here is an example (I'm compiling with lualatex main.tex
)
documentclass{scrartcl}
usepackage{fontspec}
definstallpath{/path/to/local/fonts}
setmainfont{LibertinusSerif}[
UprightFont = *-Regular,
BoldFont = *-Bold,
ItalicFont = *-Italic,
BoldItalicFont = *-BoldItalic,
Ligatures = TeX,
Extension = .otf,
Path = installpath/
]
%setmainfont{Libertinus Serif}
begin{document}
Ligatures: ff fi fl ffi fft fb fh fj fk ft Qu Th
end{document}
fontspec typography ligatures libertinus
fontspec typography ligatures libertinus
edited Feb 27 at 12:22
pschulz
asked Feb 27 at 9:19
pschulzpschulz
953718
953718
How are you compiling?
– Ulrike Fischer
Feb 27 at 10:09
Sorry, I've added that to the question. (plainlualatex main.tex
)
– pschulz
Feb 27 at 11:33
Good riddance to T_h I say!
– Paul Stanley
Feb 27 at 11:39
Have you considered opening an issue on github? (Side remark: For me, the existence of the fj ligature is a good reason to be using the Libertinus font, since that combination is frequent in Norwegian. Glad to see it's still there.)
– Harald Hanche-Olsen
Feb 27 at 11:51
1
The Th ligature was moved after the release of 6.6 according to the change log.
– David Purton
Feb 27 at 12:44
|
show 5 more comments
How are you compiling?
– Ulrike Fischer
Feb 27 at 10:09
Sorry, I've added that to the question. (plainlualatex main.tex
)
– pschulz
Feb 27 at 11:33
Good riddance to T_h I say!
– Paul Stanley
Feb 27 at 11:39
Have you considered opening an issue on github? (Side remark: For me, the existence of the fj ligature is a good reason to be using the Libertinus font, since that combination is frequent in Norwegian. Glad to see it's still there.)
– Harald Hanche-Olsen
Feb 27 at 11:51
1
The Th ligature was moved after the release of 6.6 according to the change log.
– David Purton
Feb 27 at 12:44
How are you compiling?
– Ulrike Fischer
Feb 27 at 10:09
How are you compiling?
– Ulrike Fischer
Feb 27 at 10:09
Sorry, I've added that to the question. (plain
lualatex main.tex
)– pschulz
Feb 27 at 11:33
Sorry, I've added that to the question. (plain
lualatex main.tex
)– pschulz
Feb 27 at 11:33
Good riddance to T_h I say!
– Paul Stanley
Feb 27 at 11:39
Good riddance to T_h I say!
– Paul Stanley
Feb 27 at 11:39
Have you considered opening an issue on github? (Side remark: For me, the existence of the fj ligature is a good reason to be using the Libertinus font, since that combination is frequent in Norwegian. Glad to see it's still there.)
– Harald Hanche-Olsen
Feb 27 at 11:51
Have you considered opening an issue on github? (Side remark: For me, the existence of the fj ligature is a good reason to be using the Libertinus font, since that combination is frequent in Norwegian. Glad to see it's still there.)
– Harald Hanche-Olsen
Feb 27 at 11:51
1
1
The Th ligature was moved after the release of 6.6 according to the change log.
– David Purton
Feb 27 at 12:44
The Th ligature was moved after the release of 6.6 according to the change log.
– David Purton
Feb 27 at 12:44
|
show 5 more comments
1 Answer
1
active
oldest
votes
According to the documentation at https://github.com/libertinus-fonts/libertinus/blob/master/documentation/Opentype-Features.pdf, the Th ligature is now in the Discretionary ligature set, which is off by default. Note that this also enables (at least) a tz ligature. If you don't want the other ligatures, like tz, then it is also possible to get the Th ligature by putting a Zero Width Joiner (ZWJ) in between. i.e., T<U200D>h
→ T_h
.
The Qu ligature has been moved to Contextual Alternates, which is supposed to be on by default. The fact that this doesn't work by default with lualatex
, but does with xelatex
suggests that something is wrong with how lualatex
or fontspec
with lualatex
handles the font.
This should work with the latest files in github (post release 6.6):
documentclass{article}
usepackage{fontspec}
setmainfont{Libertinus Serif}
begin{document}
Common Ligatures: ff fi fl ffi fft fb fh fj fk ft Qu Th tt tz ck ch
With verb|ZWJ|: Th
addfontfeatures{Contextuals=Alternate}
With verb|Contextuals=Alternate|: Qu
addfontfeatures{Ligatures=Rare}
With verb|Ligatures=Rare|: Th tt tz ck ch
end{document}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476900%2flibertinus-font-on-ubuntu-installed-version-vs-github-version%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
According to the documentation at https://github.com/libertinus-fonts/libertinus/blob/master/documentation/Opentype-Features.pdf, the Th ligature is now in the Discretionary ligature set, which is off by default. Note that this also enables (at least) a tz ligature. If you don't want the other ligatures, like tz, then it is also possible to get the Th ligature by putting a Zero Width Joiner (ZWJ) in between. i.e., T<U200D>h
→ T_h
.
The Qu ligature has been moved to Contextual Alternates, which is supposed to be on by default. The fact that this doesn't work by default with lualatex
, but does with xelatex
suggests that something is wrong with how lualatex
or fontspec
with lualatex
handles the font.
This should work with the latest files in github (post release 6.6):
documentclass{article}
usepackage{fontspec}
setmainfont{Libertinus Serif}
begin{document}
Common Ligatures: ff fi fl ffi fft fb fh fj fk ft Qu Th tt tz ck ch
With verb|ZWJ|: Th
addfontfeatures{Contextuals=Alternate}
With verb|Contextuals=Alternate|: Qu
addfontfeatures{Ligatures=Rare}
With verb|Ligatures=Rare|: Th tt tz ck ch
end{document}
add a comment |
According to the documentation at https://github.com/libertinus-fonts/libertinus/blob/master/documentation/Opentype-Features.pdf, the Th ligature is now in the Discretionary ligature set, which is off by default. Note that this also enables (at least) a tz ligature. If you don't want the other ligatures, like tz, then it is also possible to get the Th ligature by putting a Zero Width Joiner (ZWJ) in between. i.e., T<U200D>h
→ T_h
.
The Qu ligature has been moved to Contextual Alternates, which is supposed to be on by default. The fact that this doesn't work by default with lualatex
, but does with xelatex
suggests that something is wrong with how lualatex
or fontspec
with lualatex
handles the font.
This should work with the latest files in github (post release 6.6):
documentclass{article}
usepackage{fontspec}
setmainfont{Libertinus Serif}
begin{document}
Common Ligatures: ff fi fl ffi fft fb fh fj fk ft Qu Th tt tz ck ch
With verb|ZWJ|: Th
addfontfeatures{Contextuals=Alternate}
With verb|Contextuals=Alternate|: Qu
addfontfeatures{Ligatures=Rare}
With verb|Ligatures=Rare|: Th tt tz ck ch
end{document}
add a comment |
According to the documentation at https://github.com/libertinus-fonts/libertinus/blob/master/documentation/Opentype-Features.pdf, the Th ligature is now in the Discretionary ligature set, which is off by default. Note that this also enables (at least) a tz ligature. If you don't want the other ligatures, like tz, then it is also possible to get the Th ligature by putting a Zero Width Joiner (ZWJ) in between. i.e., T<U200D>h
→ T_h
.
The Qu ligature has been moved to Contextual Alternates, which is supposed to be on by default. The fact that this doesn't work by default with lualatex
, but does with xelatex
suggests that something is wrong with how lualatex
or fontspec
with lualatex
handles the font.
This should work with the latest files in github (post release 6.6):
documentclass{article}
usepackage{fontspec}
setmainfont{Libertinus Serif}
begin{document}
Common Ligatures: ff fi fl ffi fft fb fh fj fk ft Qu Th tt tz ck ch
With verb|ZWJ|: Th
addfontfeatures{Contextuals=Alternate}
With verb|Contextuals=Alternate|: Qu
addfontfeatures{Ligatures=Rare}
With verb|Ligatures=Rare|: Th tt tz ck ch
end{document}
According to the documentation at https://github.com/libertinus-fonts/libertinus/blob/master/documentation/Opentype-Features.pdf, the Th ligature is now in the Discretionary ligature set, which is off by default. Note that this also enables (at least) a tz ligature. If you don't want the other ligatures, like tz, then it is also possible to get the Th ligature by putting a Zero Width Joiner (ZWJ) in between. i.e., T<U200D>h
→ T_h
.
The Qu ligature has been moved to Contextual Alternates, which is supposed to be on by default. The fact that this doesn't work by default with lualatex
, but does with xelatex
suggests that something is wrong with how lualatex
or fontspec
with lualatex
handles the font.
This should work with the latest files in github (post release 6.6):
documentclass{article}
usepackage{fontspec}
setmainfont{Libertinus Serif}
begin{document}
Common Ligatures: ff fi fl ffi fft fb fh fj fk ft Qu Th tt tz ck ch
With verb|ZWJ|: Th
addfontfeatures{Contextuals=Alternate}
With verb|Contextuals=Alternate|: Qu
addfontfeatures{Ligatures=Rare}
With verb|Ligatures=Rare|: Th tt tz ck ch
end{document}
edited Feb 27 at 13:15
answered Feb 27 at 12:41
David PurtonDavid Purton
10.3k2938
10.3k2938
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476900%2flibertinus-font-on-ubuntu-installed-version-vs-github-version%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
How are you compiling?
– Ulrike Fischer
Feb 27 at 10:09
Sorry, I've added that to the question. (plain
lualatex main.tex
)– pschulz
Feb 27 at 11:33
Good riddance to T_h I say!
– Paul Stanley
Feb 27 at 11:39
Have you considered opening an issue on github? (Side remark: For me, the existence of the fj ligature is a good reason to be using the Libertinus font, since that combination is frequent in Norwegian. Glad to see it's still there.)
– Harald Hanche-Olsen
Feb 27 at 11:51
1
The Th ligature was moved after the release of 6.6 according to the change log.
– David Purton
Feb 27 at 12:44