[XeTeX] shrinkability and stretchability of interword space with default monotype font

2016-01-24 Thread jfbu
Hi,

some years ago I noticed that the interword space with the 
default monotype font had some stretchability and shrinkability,
which results in problems in verbatim environments when
the line is long enough to go into the right margin.

I raised an issue there

https://github.com/wspr/fontspec/issues/139

which was not very well formulated, and besides I probably
posted at the wrong place, as this isn't a fontspec issue, 
as stressed again by recent comment by David there:

https://github.com/wspr/fontspec/issues/139#issuecomment-174298868

Should I raise an issue on http://sourceforge.net/p/xetex/bugs/ ?

please CC to my address as I don't currently subscribe to the list,

best,

Jean-François






--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] shrinkability and stretchability of interword space with default monotype font

2016-01-24 Thread Herbert Schulz
> On Jan 24, 2016, at 8:16 AM, jfbu  wrote:
> 
> Hi,
> 
> some years ago I noticed that the interword space with the 
> default monotype font had some stretchability and shrinkability,
> which results in problems in verbatim environments when
> the line is long enough to go into the right margin.
> 
> I raised an issue there
> 
> https://github.com/wspr/fontspec/issues/139
> 
> which was not very well formulated, and besides I probably
> posted at the wrong place, as this isn't a fontspec issue, 
> as stressed again by recent comment by David there:
> 
> https://github.com/wspr/fontspec/issues/139#issuecomment-174298868
> 
> Should I raise an issue on http://sourceforge.net/p/xetex/bugs/ ?
> 
> please CC to my address as I don't currently subscribe to the list,
> 
> best,
> 
> Jean-François

Howdy,

Interestingly, if I specifically set the mono font, via  \setmonofont{Latin 
Modern Mono}, spacing is fine.

Note: to call the otf versions by name under OS X I've copied the 
texmf-dist/fonts/opentype directory to ~/Library/Fonts.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)









--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] shrinkability and stretchability of interword space with default monotype font

2016-01-24 Thread Philip Taylor
What is "the default monotype font", please ?


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] shrinkability and stretchability of interword space with default monotype font

2016-01-24 Thread jfbu

Le 24/01/2016 16:49, Philip Taylor a écrit :

What is "the default monotype font", please ?



the one selected by \ttfamily under LaTeX or by \tt
under Plain TeX in absence of any specific font loading
packages

Best,
Jean-François


--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] shrinkability and stretchability of interword space with default monotype font

2016-01-24 Thread Herbert Schulz
> On Jan 24, 2016, at 9:49 AM, Philip Taylor  wrote:
> 
> What is "the default monotype font", please ?

Howdy,

>From an example at one of the links I believe it is not a Monotype font but a 
>monospace font. I think that is Latin Modern Mono.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)









--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] shrinkability and stretchability of interword space with default monotype font

2016-01-24 Thread jfbu

Le 24/01/2016 16:49, Philip Taylor a écrit :

What is "the default monotype font", please ?



sorry about my earlier reply, I am busy with other things

this formulation dates back to my report on fontspec issue tracker

hence "default monotype font" is what got selected by \ttfamily in this MWE:

\documentclass{article}
\usepackage{fontspec}
\begin{document}
\ttfamily
\fontname\font

\the\fontdimen2\font

\the\fontdimen3\font

\the\fontdimen4\font
\end{document}

Without fontspec cmtt10 is selected and no problem,
with fontspec Latin Modern Mono, and there is problem.

As Herbert (and Will on the fontspec github site)
noticed, with fontspec+\setmonofont no problem.

Again, please disregard my earlier message,

Jean-François


--
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex


Re: [XeTeX] shrinkability and stretchability of interword space with default monotype font

2016-01-24 Thread jfbu

Le 24 janv. 2016 à 16:49, Philip Taylor  a écrit :

> What is "the default monotype font", please ?


Phil,

sorry about the confusion.

I understand now, I made the error four years ago in the title
of my fontspec report. I was meaning to say "monospace". 

And currently I don't know why "monotype" or "teletype" come
to my mind in this context.

Then today I only copied without thinking my earlier formulation,
hence perpetuating the error.

Jean-François
PS to Herbert: please CC to me if you reply as I don't subscribe to the list.


--
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex