Re: [XeTeX] XeTeX OpenType Features bug?

2023-10-25 Thread Stephen Moye via XeTeX
@David Barts:

You say: "I can access the small caps via the \fontspec macro” — what \fontspec 
macro is that? 

Earlier: "Interesting. This works for me!” — what is ’this’?

(It just occurred to me that, for some reason, I may not have the entire email 
exchange.)

I’ve also tried Hoefler, but without success.

Thanks.

> On Oct 24, 2023, at 11:04 PM, David Barts via XeTeX  wrote:
> 
> They are both TrueType as reported by Font Book.
> 
> But as I just wrote, I can access the small caps via the \fontspec macro; it 
> is just \textsc and \scshape that fail.
> 
> On 2023-10-24 17:06, Herbert Schulz via XeTeX wrote:
>> 
>>  
>> Howdy,
>> 
>> Does the OpenType version of Hoefler Text appear in Font Book? If you are 
>> using \setmainfont using a font name (rather than file name) xelatex (at 
>> least on Mac) will only use fonts that that the system `knows' about. There 
>> is a ttf version of Hoefler Text so that is what will be used. You must let 
>> Font Book `know' about the OpenType version and then make it the active 
>> version.
>> 
>> Good Luck,
>> 
>> Herb Schulz
>> 
>> her...@mac.com
>> 
>> 
>> 
> -- 
> David Barts / 
> n5...@me.com
> 
> He who has nothing to die for has nothing to live for.
>  -- Moroccan proverb
> 




Re: [XeTeX] XeTeX OpenType Features bug?

2023-10-25 Thread John Was
In case it helps, whenever I've had even the hint of an issue accessing a
font from the system I invoke it from where I have stored the file of the
font itself, e.g.:

\font\ormplanteight="[D:/BACKUPS/FONTBKUP/ORMULUM/OrmPlant.ttf]" at 8pt

(I'm not a LaTeX user but as far as I know plain (Xe)TeX commands will
still work in LaTeX.)

Best

John *🇪🇺 * Слава Україні!
* 🇺🇦*


On Wed, 25 Oct 2023 at 10:14, Stephen Moye via XeTeX  wrote:

> @David Barts:
>
> You say: "I can access the small caps via the \fontspec macro” — what
> \fontspec macro is that?
>
> Earlier: "Interesting. This works for me!” — what is ’this’?
>
> (It just occurred to me that, for some reason, I may not have the entire
> email exchange.)
>
> I’ve also tried Hoefler, but without success.
>
> Thanks.
>
> > On Oct 24, 2023, at 11:04 PM, David Barts via XeTeX 
> wrote:
> >
> > They are both TrueType as reported by Font Book.
> >
> > But as I just wrote, I can access the small caps via the \fontspec
> macro; it is just \textsc and \scshape that fail.
> >
> > On 2023-10-24 17:06, Herbert Schulz via XeTeX wrote:
> >>
> >>
> >> Howdy,
> >>
> >> Does the OpenType version of Hoefler Text appear in Font Book? If you
> are using \setmainfont using a font name (rather than file name) xelatex
> (at least on Mac) will only use fonts that that the system `knows' about.
> There is a ttf version of Hoefler Text so that is what will be used. You
> must let Font Book `know' about the OpenType version and then make it the
> active version.
> >>
> >> Good Luck,
> >>
> >> Herb Schulz
> >>
> >> her...@mac.com
> >>
> >>
> >>
> > --
> > David Barts /
> > n5...@me.com
> >
> > He who has nothing to die for has nothing to live for.
> >  -- Moroccan proverb
> >
>
>
>


Re: [XeTeX] XeTeX OpenType Features bug?

2023-10-25 Thread Zdenek Wagner
st 25. 10. 2023 v 11:19 odesílatel John Was  napsal:
>
> In case it helps, whenever I've had even the hint of an issue accessing a 
> font from the system I invoke it from where I have stored the file of the 
> font itself, e.g.:
>
> \font\ormplanteight="[D:/BACKUPS/FONTBKUP/ORMULUM/OrmPlant.ttf]" at 8pt
>
The problem is that it does not work if you share the source file with
someone else. In addition, Linux and Mac do not have drive letters.

> (I'm not a LaTeX user but as far as I know plain (Xe)TeX commands will still 
> work in LaTeX.)
>
> Best
>
> John 🇪🇺  Слава Україні! 🇺🇦 ... Героям слава
>
>

Zdeněk Wagner
https://www.zdenek-wagner.eu/


> On Wed, 25 Oct 2023 at 10:14, Stephen Moye via XeTeX  wrote:
>>
>> @David Barts:
>>
>> You say: "I can access the small caps via the \fontspec macro” — what 
>> \fontspec macro is that?
>>
>> Earlier: "Interesting. This works for me!” — what is ’this’?
>>
>> (It just occurred to me that, for some reason, I may not have the entire 
>> email exchange.)
>>
>> I’ve also tried Hoefler, but without success.
>>
>> Thanks.
>>
>> > On Oct 24, 2023, at 11:04 PM, David Barts via XeTeX  wrote:
>> >
>> > They are both TrueType as reported by Font Book.
>> >
>> > But as I just wrote, I can access the small caps via the \fontspec macro; 
>> > it is just \textsc and \scshape that fail.
>> >
>> > On 2023-10-24 17:06, Herbert Schulz via XeTeX wrote:
>> >>
>> >>
>> >> Howdy,
>> >>
>> >> Does the OpenType version of Hoefler Text appear in Font Book? If you are 
>> >> using \setmainfont using a font name (rather than file name) xelatex (at 
>> >> least on Mac) will only use fonts that that the system `knows' about. 
>> >> There is a ttf version of Hoefler Text so that is what will be used. You 
>> >> must let Font Book `know' about the OpenType version and then make it the 
>> >> active version.
>> >>
>> >> Good Luck,
>> >>
>> >> Herb Schulz
>> >>
>> >> her...@mac.com
>> >>
>> >>
>> >>
>> > --
>> > David Barts /
>> > n5...@me.com
>> >
>> > He who has nothing to die for has nothing to live for.
>> >  -- Moroccan proverb
>> >
>>
>>



Re: [XeTeX] XeTeX OpenType Features bug?

2023-10-25 Thread Ulrike Fischer
Am Tue, 24 Oct 2023 19:57:26 -0700 schrieb David Barts via XeTeX:

> Interesting. This works for me!

Well it would be easier to help if you would put a bit more effort
in giving details, for example a complete example. As it is it is
both unclear what you did before and what you did now. But as a
guess: the renderer could make a difference. That means

\setmainfont{Hoefler Text}[Renderer=OpenType]

and

\setmainfont{Hoefler Text}

could behave differently. (I don't have a mac and the font so I
can't test)


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



Re: [XeTeX] XeTeX OpenType Features bug?

2023-10-25 Thread Apostolos Syropoulos via XeTeX


I still use fontforge as fontlab is not really good for me. However, fontforge 
clearlyshows that the smcp table is there and the designers of the font use the 
.small nameextension in their mapping.  I have tried the following example
\documentclass[a4paper]{article}
\usepackage{xltxtra}
\usepackage{xgreek}
\begin{document}
\setmainfont[Mapping=tex-text,Ligatures=Common]{Hoefler Text}
\
This is a simple example. \textsc{This is a simple example}.
\end{document}
And xelatex produced the expected output. And I am not using a 
"fancy" OS like Windows or MacOS. I am on Solaris.
Regards,Apostolos
--Apostolos Syropoulos
Xanthi, Greece



  

Re: [XeTeX] XeTeX OpenType Features bug?

2023-10-25 Thread David Barts via XeTeX

This list has /already/ been helpful as it helped me find a workaround.

To reiterate my earlier messages, using \fontspec{Hoefler 
Text}[Renderer=OpenType,
RawFeature={+smcp}]does get me small caps, while using \textsc or 
\scshapedoes not.


See attached files.

On 2023-10-25 11:33, Ulrike Fischer wrote:

Am Tue, 24 Oct 2023 19:57:26 -0700 schrieb David Barts via XeTeX:


Interesting. This works for me!

Well it would be easier to help if you would put a bit more effort
in giving details, for example a complete example. As it is it is
both unclear what you did before and what you did now. But as a
guess: the renderer could make a difference. That means

\setmainfont{Hoefler Text}[Renderer=OpenType]

and

\setmainfont{Hoefler Text}

could behave differently. (I don't have a mac and the font so I
can't test)



--
David Barts /n5...@me.com
He who has nothing to die for has nothing to live for.
 -- Moroccan proverb


mfbb.pdf
Description: Adobe PDF document


mfbb.tex
Description: TeX document


smcp1.pdf
Description: Adobe PDF document


smcp1.tex
Description: TeX document