Getting RunRev to 'see' fonts in non-standard places.

Deploying to Linux? Get penguinated here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Getting RunRev to 'see' fonts in non-standard places.

Post by richmond62 » Fri Feb 19, 2010 10:29 am

On Ubuntu (and, I assume, all Debian derivatives) one can put fonts in all sorts of places where MOST applications will see them.

The most obvious places is in an invisible folder called .fonts inside the user's Home folder.

However RunRev does not 'see' these fonts.

Nor does it 'see' fonts stored in /usr/share/fonts or subordinate folders.

This is a real show-stopper for people (like myself) who wish to deliver a Linux standalone that depends on a bespoke font.

End-users (who may not have ROOT access, or the necessary know-how to install fonts elsewhere than the HOME folder) should be able
to install their own fonts (or those provided with RR standalones) which RunRev or standalones can register.

Richmond Mathewson.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Getting RunRev to 'see' fonts in non-standard places.

Post by richmond62 » Sun Feb 28, 2010 7:55 pm

Just upgraded (One helluva headache) from Ubuntu 8.04.4 LTS to 10.4 LTS Alpha 3 and, unfortunately, RunRev 4 has
all the same problems with fonts . . .

RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Getting RunRev to 'see' fonts in non-standard places.

Post by RRobert » Mon Mar 01, 2010 12:08 pm

What are you trying to achieve in detail?

Robert

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Getting RunRev to 'see' fonts in non-standard places.

Post by richmond62 » Mon Mar 01, 2010 8:46 pm

On Mac OS X RunRev can detect and use all fonts installed on the system.

This is not true on Linux.

A standalone can be delivered with a font for the end-user to install - this is unproblematic both
for Mac or Windows.

It is not possible at present on Linux.

wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 262
Joined: Mon May 18, 2009 4:12 am

Re: Getting RunRev to 'see' fonts in non-standard places.

Post by wsamples » Tue Mar 02, 2010 4:50 am

If you're including the font with your install, would it not serve to use revFontLoad? That should allow you to place the font in your application directory and load it from there. It also appears as if you could use this command in a script to load all the fonts within any directory.

RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Getting RunRev to 'see' fonts in non-standard places.

Post by RRobert » Wed Mar 03, 2010 12:50 am

revFontLoad is not available under Linux. As mentioned in the documentation. Maybe you could replace your labels with images.

Robert

Post Reply

Return to “Linux”