Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread Ulrike Fischer
Am Fri, 18 Feb 2011 22:11:41 -0600 (CST) schrieb msk...@ansuz.sooke.bc.ca: I'm having trouble with monospace OTF fonts. If I load a monospace OTF font with fontspec, it works fine at the default size, but when I change the size with LaTeX class-provided commands such as \Large, the spaces

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread mskala
On Sat, 19 Feb 2011, Ulrike Fischer wrote: I would say WordSpace shouldn't be used in \defaultfontfeatures. Moving the WordSpace setting to the font-loading command and eliminating \defaultfontfeatures doesn't change the behaviour. The space still doesn't scale when the size changes as it

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread Ulrike Fischer
Am Sat, 19 Feb 2011 10:48:51 -0600 (CST) schrieb msk...@ansuz.sooke.bc.ca: On Sat, 19 Feb 2011, Ulrike Fischer wrote: I would say WordSpace shouldn't be used in \defaultfontfeatures. Moving the WordSpace setting to the font-loading command and eliminating \defaultfontfeatures doesn't

Re: [XeTeX] preventing hyphenation

2011-02-19 Thread Ulrike Fischer
Am Sat, 19 Feb 2011 00:13:03 -0500 schrieb Mike Maxwell: In a grammar we're writing, the gloss of a word xowunʣāy gets hyphenated immediately after the 'x'. I thought I could prevent this by adding the command \hyphenation{xowunʣāy} near the beginning of the file (before the

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread mskala
On Sat, 19 Feb 2011, Ulrike Fischer wrote: Yes, as I said size changes doesn't reload a font. WordSpace shouldn't be used as a default feature. It doesn't matter whether it's being used as a default; the problem shows up even without \defaultfontfeatures. Are you saying that WordSpace

Re: [XeTeX] preventing hyphenation

2011-02-19 Thread Mike Maxwell
On 2/19/2011 12:13 PM, Ulrike Fischer wrote: Am Sat, 19 Feb 2011 00:13:03 -0500 schrieb Mike Maxwell: In a grammar we're writing, the gloss of a word xowunʣāy gets just a comment, in the line above I meant roman transcription, not gloss. hyphenated immediately after the 'x'. I thought I

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread Peter Dyballa
Am 19.02.2011 um 05:11 schrieb msk...@ansuz.sooke.bc.ca: If I load a monospace OTF font with fontspec, it works fine at the default size, but when I change the size with LaTeX class-provided commands such as \Large, the spaces between words end up the wrong size. Matthew, XeTeX (and

Re: [XeTeX] preventing hyphenation

2011-02-19 Thread Jonathan Kew
On 19 Feb 2011, at 17:29, Mike Maxwell wrote: On 2/19/2011 12:13 PM, Ulrike Fischer wrote: Am Sat, 19 Feb 2011 00:13:03 -0500 schrieb Mike Maxwell: In a grammar we're writing, the gloss of a word xowunʣāy gets just a comment, in the line above I meant roman transcription, not gloss.

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread mskala
On Sat, 19 Feb 2011, Peter Dyballa wrote: XeTeX (and original TeX) do not put SPACE characters into the output, i.e., if a SPACE glyph would exist in a font it is not used to separate words or such. I'm well aware of that. I explained it myself on this very list a few days ago in answer to

Re: [XeTeX] preventing hyphenation

2011-02-19 Thread Martin Schröder
2011/2/19 Mike Maxwell maxw...@umiacs.umd.edu: In a grammar we're writing, the gloss of a word xowunʣāy gets hyphenated immediately after the 'x'.  I thought I could prevent this by adding the You could also set \lefthyphenmin to a value greater than 1 for the language... Best Martin

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread Martin Schröder
2011/2/19 msk...@ansuz.sooke.bc.ca: it goes.  The problem is that XeTeX also adds stretchability and shrinkability to the word space, which is an inappropriate thing to do when the font is monospace, and there doesn't seem to be a way to remove the stretchability and shrinkability in a way

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread Philip Taylor (Webmaster, Ret'd)
Martin Schröder wrote: 2011/2/19msk...@ansuz.sooke.bc.ca: it goes. The problem is that XeTeX also adds stretchability and shrinkability to the word space, which is an inappropriate thing to do when the font is monospace, and there doesn't seem to be a way to remove the stretchability and

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread Martin Schröder
2011/2/19 Philip Taylor (Webmaster, Ret'd) p.tay...@rhul.ac.uk: Martin Schröder wrote: Methinks the ragged2e package offers a solution. And if one wants full justification as well as monospaced spaces with a monospaced font ? untested: \usepackage{ragged2e} ... \justifying foo bar\par

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread Mike Pomax Kamermans
Philip, And if one wants full justification as well as monospaced spaces with a monospaced font ? Wait, I'm confused; is that even logically possible? A monospaced font has letters and symbols all of equal width, including interpunctions like space (the one you type with a space bar, not

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread mskala
On Sat, 19 Feb 2011, Martin Schröder wrote: Methinks the ragged2e package offers a solution. The ragged2e package doesn't work for me because it recognizes monospace fonts by detecting that the value of \fontdimen3 is zero. For OTF fonts, XeTeX sets \fontdimen3 to nonzero regardless of whether

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread mskala
On Sat, 19 Feb 2011, Mike Pomax Kamermans wrote: And if one wants full justification as well as monospaced spaces with a monospaced font ? Wait, I'm confused; is that even logically possible? Full justification with monospace fonts would be very unusual. Even if someone wants to do that, I

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread Philip Taylor (Webmaster, Ret'd)
Mike Pomax Kamermans wrote: Philip, And if one wants full justification as well as monospaced spaces with a monospaced font ? Wait, I'm confused; is that even logically possible? Good point : I hadn't considered that ! ** Phil. -- Not sent from my i-Pad, i-Phone, Blackberry, Blueberry,

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread Philip Taylor (Webmaster, Ret'd)
Martin Schröder wrote: Why do you ask anyway? Since when are you using LaTeX? There are many things that I don't use in which I continue to maintain an interest. ** Phil. -- Not sent from my i-Pad, i-Phone, Blackberry, Blueberry, or any such similar poseurs' toy, none of which would I be

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread Khaled Hosny
On Sat, Feb 19, 2011 at 04:14:36PM -0600, msk...@ansuz.sooke.bc.ca wrote: I still think that XeTeX or fontspec are buggy in their handling of monospace fonts, but this is a better workaround. The question is how to know if the font is monospaced or not, what if one wants a monospaced font but

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread mskala
On Sun, 20 Feb 2011, Khaled Hosny wrote: The question is how to know if the font is monospaced or not, what if one wants a monospaced font but with stretchable space? Well, first of all, a monospaced font but with stretchable space is a very unusual thing to want. That is not how monospace

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread Peter Dyballa
Am 19.02.2011 um 19:57 schrieb msk...@ansuz.sooke.bc.ca: Instead of exotic fonts you can use from TeX Live 2010 the GNU Freefonts in: No, I can't. The document in question is a type specimen, and written in a mixture of English and Japanese. Using a different font would defeat the

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread Peter Dyballa
Am 19.02.2011 um 23:50 schrieb msk...@ansuz.sooke.bc.ca: Ulrike Fischer says that WordSpace should not be used as a default feature; but since it fails whenever the standard font-size commands are used, the practical effect is that WordSpace cannot be used at all. You can use WordSpace as

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread mskala
On Sun, 20 Feb 2011, Peter Dyballa wrote: My suggestion was not that you change the font for productive work but that you (and we) can test your theory of the different behaviour of TT and OT fonts. Which I could not find. I see. I'm not claiming a difference between TrueType and OpenType,

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-19 Thread mskala
Blah, deleted a line by mistake. Please read that as: On Sat, 19 Feb 2011, msk...@ansuz.sooke.bc.ca wrote: between OpenType and traditional TeX. TrueType isn't in the picture at all. I apologize for misunderstanding your suggestion of using another font - what I thought you were saying was