Fonts & Character SetsProblem with external fonts

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
Uchman
Posts: 6
Joined: Thu Feb 16, 2012 11:18 am

Problem with external fonts

Post by Uchman »

Hi!

I'm trying to finish a songbook, but there are a couple of issuses that frustrate me. I'm using the URW Palladio L font in the whole document, and for some unknown reason, I can't get the ǽ character or cyrillic to appear. When I tried to change to Palatino, I couldn't get the bold or italic versions. My guess is that something is wrong with my font database, but I don't know where to look and what to look for.

Infominimal working example

Code: Select all

\documentclass[11pt]{book}
\usepackage{luatextra}
\usepackage[papersize={12cm,8cm},top=0.2cm,bottom=0.2cm,left=0.2cm,right=0.2cm]{geometry}
\usepackage[latin]{babel}
\usepackage{fontspec}

\begin{document}
\setmainfont[Renderer=Basic,Ligatures=TeX,Mapping=tex-text]{URW Palladio L}
URW Palladio L\\\textbf{Sanctus} \textit{etc.}
Pléni sunt c\'\ae li et térra.
И я не знаю почему.

\setmainfont[Renderer=Basic,Ligatures=TeX,Mapping=tex-text]{Palatino Linotype}
Palatino Linotype\\\textbf{Sanctus} \textit{etc.}
Pléni sunt c\'\ae li et térra.
И я не знаю почему.
\end{document}
[/MWE]

This is what I get:
Mini.pdf
(43.16 KiB) Downloaded 414 times
I'm using LuaTeX because there are Gregorian chants typeset with gregorio. The music is typeset with lilypond, and the songs (about 100) have all URW Palladio L defined as the main font.

One more thing, the log file:
Mini.log
(43.56 KiB) Downloaded 305 times
Uchman

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

justdeath
Posts: 69
Joined: Mon Sep 05, 2011 10:27 am

Problem with external fonts

Post by justdeath »

Update:
Installed TeXLive 2011 on Ubuntu 12.04 beta1. Copied Palatino Linotype from Windows, everything is OK. I just saw that URW Palladio L does not have Cyrillic characters, meaning it is impossible to do what you require.

Apparently the problem is on your side. You should reinstall your TeXLive distribution and then Palatino will work.


First I had to download the font.
http://www.azfonts.net/load_font/urw_pa ... roman.html

Shapes for Palatino are OK. The rest is a mess. Encoding is UTF-8.

Also you can change the font of all your songs, if it is not an issue.

Seems you are using TeXLive 2011 on Linux, and I use it on Windows. Maybe that's why the files differ.

Nikolay
Attachments
t44linux.pdf
(107.1 KiB) Downloaded 406 times
t44linux.log
(53.35 KiB) Downloaded 472 times
t44.pdf
(67.01 KiB) Downloaded 427 times
t44.log
(38.35 KiB) Downloaded 363 times
Uchman
Posts: 6
Joined: Thu Feb 16, 2012 11:18 am

Re: Problem with external fonts

Post by Uchman »

Thanks, Nikolay. I had to change the font to Palatino, but finally the cyrillic worked. There is, however, one issue: most of the songbooks have already been printed, and if I want to add new pages now, I can see the differences in the font shapes. Well, I suppose it's my fault --- not checking everything before printing...
Uchman
Post Reply