Zooming via keyboard on Leopard

View: New views
5 Messages — Rating Filter:   Alert me  

Zooming via keyboard on Leopard

by Rainer Schuetz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm on Leopard 10.5.8 and can't get zooming in the editor-window via  
keyboard to work. The menu states opt-ctrl-- and opt-ctrl-sh-+ in the  
menu, but those key-combinations do nothing on my system.
Other key-combinations, for example opt-ctrl-] or ctrl-s are working  
as expected. Change in the X11 keyboard options (Follow system  
keyboard, Enable key equivalents...) seems not to make a difference. I  
have tried both US and German keyboards.

Thanks for any hints,
Best
Rainer

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fontforge-users mailing list
Fontforge-users@...
https://lists.sourceforge.net/lists/listinfo/fontforge-users

Re: Zooming via keyboard on Leopard

by George Williams :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-09-18 at 07:19, Rainer Schuetz wrote:
> I'm on Leopard 10.5.8 and can't get zooming in the editor-window via  
> keyboard to work. The menu states opt-ctrl-- and opt-ctrl-sh-+ in the  
> menu, but those key-combinations do nothing on my system.
> Other key-combinations, for example opt-ctrl-] or ctrl-s are working  
> as expected. Change in the X11 keyboard options (Follow system  
> keyboard, Enable key equivalents...) seems not to make a difference. I  
> have tried both US and German keyboards.
Hmm. I don't have 10.5.8, but I do notice that in 10.6 apple has, once
again, changed the way the option key gets reported by X11 (I wish
they'd stop changing this, it makes it very hard to write a program that
works).

For me this means that all shortcuts which use the Option key fail. (You
report one as succeeding, so this might not be your problem).

Try typing the following in an xterm before starting fontforge:
$ xmodmap -e "keysym Mode_switch = Alt_L Mode_switch"


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fontforge-users mailing list
Fontforge-users@...
https://lists.sourceforge.net/lists/listinfo/fontforge-users

Re: Zooming via keyboard on Leopard

by Rainer Schuetz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Try typing the following in an xterm before starting fontforge:
> $ xmodmap -e "keysym Mode_switch = Alt_L Mode_switch"

Yes, that makes it work! I made a mistake reporting opt-ctrl-[ was  
working - it was behaving like ctrl-[

> ... it makes it very hard to write a program that
> works.


Your program works very well, I love it! Thanks a lot!

Best
Rainer

On 21.09.2009, at 20:08, George Williams wrote:

> On Fri, 2009-09-18 at 07:19, Rainer Schuetz wrote:
>> I'm on Leopard 10.5.8 and can't get zooming in the editor-window via
>> keyboard to work. The menu states opt-ctrl-- and opt-ctrl-sh-+ in the
>> menu, but those key-combinations do nothing on my system.
>> Other key-combinations, for example opt-ctrl-] or ctrl-s are working
>> as expected. Change in the X11 keyboard options (Follow system
>> keyboard, Enable key equivalents...) seems not to make a  
>> difference. I
>> have tried both US and German keyboards.
> Hmm. I don't have 10.5.8, but I do notice that in 10.6 apple has, once
> again, changed the way the option key gets reported by X11 (I wish
> they'd stop changing this, it makes it very hard to write a program  
> that
> works).
>
> For me this means that all shortcuts which use the Option key fail.  
> (You
> report one as succeeding, so this might not be your problem).
>
> Try typing the following in an xterm before starting fontforge:
> $ xmodmap -e "keysym Mode_switch = Alt_L Mode_switch"
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fontforge-users mailing list
Fontforge-users@...
https://lists.sourceforge.net/lists/listinfo/fontforge-users

Re: Zooming via keyboard on Leopard

by Peter Baker-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Rainer Schuetz wrote:
>> ... it makes it very hard to write a program that
>> works.
>>    
>
>
> Your program works very well, I love it! Thanks a lot!
>
>  
It does indeed work. But there's no denying that there's something flaky
about X11 on the Mac. Though the latest FF runs well on my Mac (with
Snow Leopard), I've gotten tired of the struggle. FF, it seems to me, is
at heart a Linux program, and my happiest experiences have been
compiling and running it under Linux. Yet I sometimes have to use the
Mac provided by my employer.

So I've started to run FF in Ubuntu Linux inside VirtualBox. I recommend
this solution to anyone who has a reasonably capable machine (say 2GB of
RAM and some 5-10GB of spare disk). VirtualBox is free, and it's
wonderfully easy to install and run Ubuntu (and, I expect, most  current
versions of Linux) in it. Performance is good, though I'd recommend
turning off Compiz. If anyone is interested I can post the names of the
Ubuntu packages you need to install before you compile the CVS version
of FontForge.

Peter


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fontforge-users mailing list
Fontforge-users@...
https://lists.sourceforge.net/lists/listinfo/fontforge-users

Re: Zooming via keyboard on Leopard

by Rainer Schuetz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> Try typing the following in an xterm before starting fontforge:
>> $ xmodmap -e "keysym Mode_switch = Alt_L Mode_switch"

This was George Williams tip to make the opt- respectively alt-key  
work in keycombinations like alt-ctrl-[ (next defined glyph) or alt-
ctrl-(sh)-+ (zoom) on Leopard 10.5.8. For those like me who don't know  
how to make this stick (as I accidentally bumped into the solution):

Create a file called .Xmodmap in your home-folder and add the part  
between quotation-marks. From then on the assignment modification is  
made every time X11 is started (so it might have negative side-effects  
for you (or positive ones :))). I wouldn't know how to make the  
modification for FontForge only...

Best
Rainer

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fontforge-users mailing list
Fontforge-users@...
https://lists.sourceforge.net/lists/listinfo/fontforge-users