Well, i think you guys will find a solution.
It makes me think of the "pidip" installation, which we will come to at a point, since it uses Fonts, too.
I just wanted to remind you, that that's a similar problem and maybe can be solved with this one.
So: about the bdiag~: So for now, we could just exclude it , but how do you do that with the build-system ? I would like to keep going and check all the others. How do i do that ?
Am 28.03.2007 um 08:02 schrieb Andre Schmidt:
Hi,
i got a new job as osx admin (among others) for a while now, and we are using a particular font as "corporate design". so to ease my job for new osx clients, i made a .pkg that installs the fonts to /Library/Fonts. the fonts work rightaway without needing to restart or recache (just like windowsxp)
if you dont want to install fonts to system library (eg. you dont want to use admin rights) you can allso install the fonts to ~/Library/ Fonts
but the coolest would be to be able to use the fonts from inside the pd dir, without touching any system configs or dirs. but i dont know if thats possible. (like pdf uses embedded fonts, but i assume that pdf doesnt use the system font render system ?)
cheers andre
On Wed, 2007-03-28 at 00:38 -0400, Hans-Christoph Steiner wrote:
Good point, Pd-extended is already using an installer on Windows, so it can just install the font in the proper location, %SYSTEMROOT% \Fonts
That leaves Mac OS X, which is tricky since it needs to be inside the Mac OS X .app package.
.hc
On Mar 27, 2007, at 6:14 PM, David Powers wrote:
On Windows installing the font with a batch file would be trivial.
If you made some file "Install.bat" it could copy the font to the correct directory, and also run the registry script you currently use, at the same time.
~David
On 3/27/07, Hans-Christoph Steiner hans@eds.org wrote:
On Mar 27, 2007, at 12:05 PM, Patco wrote:
Hans-Christoph Steiner a écrit :
The last step in sorting the cross-platform font issue is finding a way of including the font file for the Windows and Mac OS X packages.
Anyone know how to make Tk look for fonts in a specific directory?
.hc
I don't think you can't do this but it's possible to put a specific font into the X server fonts directory, and doing a font mapping like in this neat tcl-tk application: http://xstick.e-artisan.org/
also you might be interested by this: http://wiki.tcl.tk/470
On Debian and Ubuntu, it'll be very easy to support since the Bitstream Vera Sans Mono font is in the package system. I think that font is also included in any GNOME install, so that covers most GNU/ Linux users.
The hard part is Windows and Mac OS X. We could require people to install the font seperately, but I'd rather have it just work out of the box.
.hc
__ _
_____ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com
--
Access to computers should be unlimited and total. - the hacker ethic
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of everyone, and the receiver cannot dispossess himself of it. - Thomas Jefferson
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Luigi Rensinghoff wrote:
Well, i think you guys will find a solution.
It makes me think of the "pidip" installation, which we will come to at a point, since it uses Fonts, too.
I just wanted to remind you, that that's a similar problem and maybe can be solved with this one.
hmm, i think (but don't know exactly) that pidip needs low-level access to the font, instead of relying onto system-fonts. it just happens that pidip searches the system-font paths to get its fonts.
it should be similar to the case of Gem (though Gem does not even attempt to access the system fonts); one could hack pidip (if it doesn't already do so) to additionally use pd's search paths to search for fonts.
i don't think that this is that simple with tcl/tk (but then: why not?), which probably relies on the system's font manager.
mfg.asdr IOhannes
ola,
pidip doesn't do all these evil things, it just relies on imlib ( imlib_load_font ) to load the fonts, so you want to hack imlib?
ciao, sevy
IOhannes m zmoelnig wrote:
Luigi Rensinghoff wrote:
Well, i think you guys will find a solution.
It makes me think of the "pidip" installation, which we will come to at a point, since it uses Fonts, too.
I just wanted to remind you, that that's a similar problem and maybe can be solved with this one.
hmm, i think (but don't know exactly) that pidip needs low-level access to the font, instead of relying onto system-fonts. it just happens that pidip searches the system-font paths to get its fonts.
it should be similar to the case of Gem (though Gem does not even attempt to access the system fonts); one could hack pidip (if it doesn't already do so) to additionally use pd's search paths to search for fonts.
i don't think that this is that simple with tcl/tk (but then: why not?), which probably relies on the system's font manager.
mfg.asdr IOhannes
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
Yves Degoyon wrote:
ola,
pidip doesn't do all these evil things, it just relies on imlib ( imlib_load_font ) to load the fonts, so you want to hack imlib?
no of course not. that was why i was referring to "i don't know exactly" ;-)
sorry for the noise.
fmga.sdr IOhannes
You can find which target (section) in externals/Makefile is building bdiag~ and removed it from there. Or even better track down the changes in CVS that broke the bdiag~. Pd-0.40.2-extended used to build fine.
.hc
On Mar 28, 2007, at 4:53 AM, Luigi Rensinghoff wrote:
Well, i think you guys will find a solution.
It makes me think of the "pidip" installation, which we will come to at a point, since it uses Fonts, too.
I just wanted to remind you, that that's a similar problem and maybe can be solved with this one.
So: about the bdiag~: So for now, we could just exclude it , but how do you do that with the build-system ? I would like to keep going and check all the others. How do i do that ?
Am 28.03.2007 um 08:02 schrieb Andre Schmidt:
Hi,
i got a new job as osx admin (among others) for a while now, and we are using a particular font as "corporate design". so to ease my job for new osx clients, i made a .pkg that installs the fonts to /Library/Fonts. the fonts work rightaway without needing to restart or recache (just like windowsxp)
if you dont want to install fonts to system library (eg. you dont want to use admin rights) you can allso install the fonts to ~/Library/ Fonts
but the coolest would be to be able to use the fonts from inside the pd dir, without touching any system configs or dirs. but i dont know if thats possible. (like pdf uses embedded fonts, but i assume that pdf doesnt use the system font render system ?)
cheers andre
On Wed, 2007-03-28 at 00:38 -0400, Hans-Christoph Steiner wrote:
Good point, Pd-extended is already using an installer on Windows, so it can just install the font in the proper location, %SYSTEMROOT% \Fonts
That leaves Mac OS X, which is tricky since it needs to be inside the Mac OS X .app package.
.hc
On Mar 27, 2007, at 6:14 PM, David Powers wrote:
On Windows installing the font with a batch file would be trivial.
If you made some file "Install.bat" it could copy the font to the correct directory, and also run the registry script you currently use, at the same time.
~David
On 3/27/07, Hans-Christoph Steiner hans@eds.org wrote:
On Mar 27, 2007, at 12:05 PM, Patco wrote:
Hans-Christoph Steiner a écrit : > The last step in sorting the cross-platform font issue is > finding > a way of including the font file for the Windows and Mac OS X > packages. > > Anyone know how to make Tk look for fonts in a specific > directory? > > .hc > I don't think you can't do this but it's possible to put a specific font into the X server fonts directory, and doing a font mapping like in this neat tcl-tk application: http://xstick.e-artisan.org/
also you might be interested by this: http://wiki.tcl.tk/470
On Debian and Ubuntu, it'll be very easy to support since the Bitstream Vera Sans Mono font is in the package system. I think that font is also included in any GNOME install, so that covers most GNU/ Linux users.
The hard part is Windows and Mac OS X. We could require people to install the font seperately, but I'd rather have it just work out of the box.
.hc
_ __ _
_____ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com
--
Access to computers should be unlimited and total. - the hacker ethic
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of everyone, and the receiver cannot dispossess himself of it. - Thomas Jefferson
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
------------------------------------------------------------------------ ----
Terrorism is not an enemy. It cannot be defeated. It's a tactic. It's about as sensible to say we declare war on night attacks and expect we're going to win that war. We're not going to win the war on terrorism. - retired U.S. Army general, William Odom