unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* problems with ttf fonts (hebrew), can go back to courier font.
@ 2014-09-23 12:07 Uwe Brauer
  2014-09-23 16:47 ` Glenn Morris
  2014-09-26 12:27 ` K. Handa
  0 siblings, 2 replies; 5+ messages in thread
From: Uwe Brauer @ 2014-09-23 12:07 UTC (permalink / raw)
  To: emacs-devel

Hello

Using GNU Emacs 24.3, I usually use 

(set-face-font 'default "-etl-*-bold-*-*-*-*-180-*-*-*-*-ISO8859-8") for
hebrew. 

However I have also the ttf font Guttman Yad-Brush, which is a
handwritten based hebrew font, without really ASCII support.

So when I use 
(set-face-font 'default "Guttman Yad-Brush")

then this font is activated, Hebrew chars are displayed correctly but
all other ASCII symbols save numbers are not (I see empty boxes instead)

*However* when I want my standard courier font back via
(set-face-font 'default "-*-courier-bold-r-*-*-18-180-*-*-*-*-*-*")

Then this does not work, the empty boxes remain.

Is this a bug?

Uwe Brauer 




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problems with ttf fonts (hebrew), can go back to courier font.
  2014-09-23 12:07 problems with ttf fonts (hebrew), can go back to courier font Uwe Brauer
@ 2014-09-23 16:47 ` Glenn Morris
  2014-09-23 18:47   ` Uwe Brauer
  2014-09-26 12:27 ` K. Handa
  1 sibling, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2014-09-23 16:47 UTC (permalink / raw)
  To: emacs-devel

Uwe Brauer wrote:

> Is this a bug?

Next time you think you may have found a bug, make a bug report.
The development list is not the bug reporting list, and asking "is this
a bug" first doesn't save anyone any work.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problems with ttf fonts (hebrew), can go back to courier font.
  2014-09-23 16:47 ` Glenn Morris
@ 2014-09-23 18:47   ` Uwe Brauer
  0 siblings, 0 replies; 5+ messages in thread
From: Uwe Brauer @ 2014-09-23 18:47 UTC (permalink / raw)
  To: emacs-devel

>> "GM" == Glenn Morris <rgm@gnu.org> writes:

   > Uwe Brauer wrote:
   >> Is this a bug?

   > Next time you think you may have found a bug, make a bug report.
   > The development list is not the bug reporting list, and asking "is this
   > a bug" first doesn't save anyone any work.

I asked whether it is a bug or a missing feature, in which case a bug
report does not make much sense and whether it is a missing feature or a
bug, I presume, can be best answered in the development list.[1]

Footnotes:
[1]  I googled around before asking but did not find a clear answer.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problems with ttf fonts (hebrew), can go back to courier font.
  2014-09-23 12:07 problems with ttf fonts (hebrew), can go back to courier font Uwe Brauer
  2014-09-23 16:47 ` Glenn Morris
@ 2014-09-26 12:27 ` K. Handa
  2014-09-27  9:37   ` Uwe Brauer
  1 sibling, 1 reply; 5+ messages in thread
From: K. Handa @ 2014-09-26 12:27 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-devel

In article <87egv2r153.fsf@mat.ucm.es>, Uwe Brauer <oub@mat.ucm.es> writes:

> Using GNU Emacs 24.3, I usually use 

> (set-face-font 'default "-etl-*-bold-*-*-*-*-180-*-*-*-*-ISO8859-8") for
> hebrew. 

> However I have also the ttf font Guttman Yad-Brush, which is a
> handwritten based hebrew font, without really ASCII support.

> So when I use 
> (set-face-font 'default "Guttman Yad-Brush")

> then this font is activated, Hebrew chars are displayed correctly but
> all other ASCII symbols save numbers are not (I see empty boxes instead)

> *However* when I want my standard courier font back via
> (set-face-font 'default "-*-courier-bold-r-*-*-18-180-*-*-*-*-*-*")

> Then this does not work, the empty boxes remain.

> Is this a bug?

It seems to be a bug.  What is the output of C-u C-x = when
you put cursor on an ascii character shown by an empty box?

---
Kenichi Handa
handa@gnu.org



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: problems with ttf fonts (hebrew), can go back to courier font.
  2014-09-26 12:27 ` K. Handa
@ 2014-09-27  9:37   ` Uwe Brauer
  0 siblings, 0 replies; 5+ messages in thread
From: Uwe Brauer @ 2014-09-27  9:37 UTC (permalink / raw)
  To: emacs-devel


   > In article <87egv2r153.fsf@mat.ucm.es>, Uwe Brauer <oub@mat.ucm.es> writes:



   > It seems to be a bug.  What is the output of C-u C-x = when
   > you put cursor on an ascii character shown by an empty box?

With 
(set-face-font 'default "-*-courier-bold-r-*-*-18-180-*-*-*-*-*-*")

,----
|              position: 4 of 344 (1%), column: 3
|             character: SPC (displayed as SPC) (codepoint 32, #o40, #x20)
|     preferred charset: ascii (ASCII (ISO646 IRV))
| code point in charset: 0x20
|                syntax:   	which means: whitespace
|              category: .:Base, a:ASCII, l:Latin
|              to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME"
|           buffer code: #x20
|             file code: #x20 (encoded by coding system utf-8-unix)
|               display: by this font (glyph code)
|     x:-adobe-courier-bold-r-normal--18-180-75-75-m-110-iso8859-1 (#x20)
| 
| Character code properties: customize what to show
|   name: SPACE
|   general-category: Zs (Separator, Space)
|   decomposition: (32) (' ')
`----
(set-default-font "Guttman Yad-Brush")

,----
| 
|              position: 4 of 311 (1%), column: 3
|             character: SPC (displayed as SPC) (codepoint 32, #o40, #x20)
|     preferred charset: ascii (ASCII (ISO646 IRV))
| code point in charset: 0x20
|                syntax:   	which means: whitespace
|              category: .:Base, a:ASCII, l:Latin
|              to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME"
|           buffer code: #x20
|             file code: #x20 (encoded by coding system utf-8-unix)
|               display: by this font (glyph code)
|     xft:-microsoft-Guttman Yad-Brush-normal-normal-normal-*-18-*-*-*-*-0-iso10646-1 (#x03)
| 
| Character code properties: customize what to show
|   name: SPACE
|   general-category: Zs (Separator, Space)
|   decomposition: (32) (' ')
| 
`----


And again with courier

,----
|              position: 4 of 311 (1%), column: 3
|             character: SPC (displayed as SPC) (codepoint 32, #o40, #x20)
|     preferred charset: ascii (ASCII (ISO646 IRV))
| code point in charset: 0x20
|                syntax:   	which means: whitespace
|              category: .:Base, a:ASCII, l:Latin
|              to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME"
|           buffer code: #x20
|             file code: #x20 (encoded by coding system utf-8-unix)
|               display: by this font (glyph code)
|     xft:-microsoft-Guttman Yad-Brush-normal-normal-normal-*-21-*-*-*-*-0-iso10646-1 (#x03)
| 
| Character code properties: customize what to show
|   name: SPACE
|   general-category: Zs (Separator, Space)
|   decomposition: (32) (' ')
| 
`----


The last one of course is wrong 




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-27  9:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-23 12:07 problems with ttf fonts (hebrew), can go back to courier font Uwe Brauer
2014-09-23 16:47 ` Glenn Morris
2014-09-23 18:47   ` Uwe Brauer
2014-09-26 12:27 ` K. Handa
2014-09-27  9:37   ` Uwe Brauer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).