Folks,
If you are following this thread, I finally got the font to
embed properly, thanks to Therese.
The trick was to export the font as CFF outlines instead of
TrueType outlines.
Doing that doesn't seem to have any effect on screen quality
nor print quality, by the way.
But now I can use lualatex's pdf file inside of InDesign and
still export it to a new pdf without the pdf giving the font
error.
I don't know WHY that made a difference though; other fonts
are mostly TrueType Outlines and they embed just fine.
Curious George won't ever figure out the specifics here.
One thing I DID learn was this:
If you create and edit your own fonts, lualatex stores them
in cache, and even though you replace the otf files in your
tex font folder (mine is at
C:\texlive\2013\texmf-dist\fonts\truetype\public), lualatex
will keep using what it has in its cache.
If you want to update your font:
run:
luaotfload-tool --cache=erase
This will erase the contents of
C:\texlive\2013\texmf-var\luatex-cache\ which is where (at
least in my configuration) lualatex keeps its font cache.
Now you can run
texhash
updmap
Now, when you compile your tex file again, it will rebuild
the font cache and use your new font.
On 3/13/2015 12:56 AM, Thérèse Bonin wrote:
Dear Brother Gabriel-Marie,
Glad it helped. But I’m afraid I can’t tell you how to
work with FontCreator — I use FontForge on Debian
GNU/Linux. I’m no designer, so I use it mostly to examine
fonts and sometimes to fix a problem; it’s capable of much
more than I’ve yet learned.
I can tell you what I did in FontForge, and maybe someone
else can add information about FontCreator.
Under the “Element” menu, select “Font Info.” In the
window that pops up, select “General,” and then choose
“1000” from the drop-down menu next to “Em Size.” Click
“OK.” Here a warning pops up, “You have just changed the
point numbering of glyph quotesingle. Instructions in
this glyph (or one that refers to it) have been lost.” I
have no idea what that means, and it’s now almost two
o’clock in the morning, so just click “OK.” Then go to
the “File” menu, select “Generate Fonts,” add -ed or -copy
to the suggested name, and click “Save.”
As you experiment, see whether the single quote behaves.
That’s the only thing that concerns me, and since I’ve
never seen such a message before, I haven’t yet searched
the FontForge documentation for it.
Thérèse
On Fri, Mar 13, 2015 at 1:36 AM, Brother Gabriel-Marie
<[email protected] <mailto:[email protected]>> wrote:
Thérèse - THAT IS AMAZING!
That was it!
Now the pdf embeds like it's supposed to!
Now tell me this - how do you adjust setting without
changing the size of the glyphs?
In FontCreator, I have this panel, but if I change the
"units per em" it changes the font size.
I put the panels side-by-side - the original on the
left and the edited one on the right.
I want to figure out how to fix this myself!
Thank you, Thérèse!
On 3/13/2015 12:12 AM, Thérèse Bonin wrote:
Dear Brother Gabriel-Marie,
I don’t have InDesign, so I can’t test this, but I
notice that Priory has an em size of 2048. Anything
other than 1000 often causes problems. I’ve done a
quick job of changing it to 1000 in FontForge; try
the attached and see if it helps.
Thérèse Bonin
On Fri, Mar 13, 2015 at 12:52 AM, Brother
Gabriel-Marie <[email protected]
<mailto:[email protected]>> wrote:
Oh, I am miserable with this. I've spent hours
and hours.
So I have this font called Priory that I like to
work with.
I'm using Gregorio 2.4.2
This is LuaTeX, Version beta-0.76.0-2013052306
(TeX Live 2013/W32TeX) (rev 4627)
But I'm still having InDesign problems.
When I create a pdf using tex and use this font
in that pdf, I can open the pdf just fine.
But if I place that pdf in InDesign (like I do my
chant scores) and export to a new pdf, then I get
this when I try to open that pdf in Adobe Reader
(or Adobe Acrobat):
*B**ut notice - if I create a pdf in InDesign
instead of lualatex and place that pdf in
InDesign and export it, I have no problems with
this font! I only have the problem with
lualatex-created pdf files.*
So THAT is the problem I want to solve,
HOWEVER, when I try to fix it, it causes me
another problem:
This is how it is supposed to look (we are
looking at the title; I added some numbers to the
end so I can tell the font files apart)
So, I tried editing the font to find some way to
make it how lualatex likes. The letters are the
same size as the first version of the font! But
look what happens to them. I can't figure this
out. In any other text editor, the font looks
just right. The font is supposed to look like it
does above. This is with the same tex template, too.
So, I've included my tex file and the compilation
log file - Could someone please look at the log
for me and see if they can tell anything? I've
included my font, too.
Thank you!
_______________________________________________
Gregorio-users mailing list
[email protected]
<mailto:[email protected]>
https://mail.gna.org/listinfo/gregorio-users
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users