r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[SDK]

Graham
18-Dec-2006
[943x2]
Anyway I rambo'ed it
Does freetype support also imply type 1 font support?
Cyphre
18-Dec-2006
[945]
From the FreeType site:
#

By default, FreeType 2 supports the following font formats.

    * TrueType fonts (and collections)
    * Type 1 fonts
    * CID-keyed Type 1 fonts
    * CFF fonts
    * OpenType fonts (both TrueType and CFF variants)
    * SFNT-based bitmap fonts
    * X11 PCF fonts
    * Windows FNT fonts
    * BDF fonts (including anti-aliased ones)
    * PFR fonts
    * Type 42 fonts (limited support)
Graham
18-Dec-2006
[946]
so, View will be able to use them?
Cyphre
18-Dec-2006
[947x2]
So I guess all this should be possible to load using Rebol on Linux.
(but I haven' t tested all those font formats, just ttf)
Graham
18-Dec-2006
[949x2]
It would be good to test the standard PS type 1 fonts
they normally come with the ghostscript install
Cyphre
18-Dec-2006
[951]
I can test it if you point me to some free font to download.
Graham
18-Dec-2006
[952]
most Linux builds have ghostscript installed with the PD type 1 fonts
Cyphre
18-Dec-2006
[953x3]
let me check...
ah, found /gsfonts dir in my distro...will test some font from it 
in a minute...
yes, the PS type 1 fonts works ok for me here.
Graham
18-Dec-2006
[956x2]
That's neat.
What distro are you using?
Cyphre
18-Dec-2006
[958]
Mepis Linux. Well, Freetype2 is doing all the hard work for us here 
;)
Graham
18-Dec-2006
[959x2]
Are the Debian builds much newer than the other Linux builds?
The Debian View has the freetype library, but the libc6 build does 
not.
Cyphre
18-Dec-2006
[961]
Yes, it looks so. AFAIK I'm using the Debian version here.
Graham
18-Dec-2006
[962]
So, I should send feeback to Carl and ask him to put freetype2 support 
in all Linux builds and the sdk.
Cyphre
18-Dec-2006
[963x2]
It looks only Debian,Ubuntu and OBSD beta versions should have this 
feature.
Yes, I think that's the best way to let Carl know.
Graham
18-Dec-2006
[965x2]
Ok.
there are separate downloads for Debian, Libc6, and  Ubuntu .. yet 
the same Linux enface supports all of them?
Cyphre
18-Dec-2006
[967]
Sorry, don't know if some enface supports this. But I would say no. 
The FT2 support was only build in the separate beta releases.
Graham
18-Dec-2006
[968x2]
I mean, the one enface for linux is able to build something that 
runs on Debian and Fedora.
Yet, there are separate downloads for these for View.
Gabriele
18-Dec-2006
[970x2]
Graham, the needs for different builds on different distros only 
comes when you start requiring libs such as freetype, and find out 
that each distro is different.
it may be possible that one of the builds will work on all distros 
provided some lib symlinking.
Henrik
19-Dec-2006
[972]
it seems encap does not like directories with spaces in the name
Graham
19-Dec-2006
[973]
Carl just responded to my feedback asking which distros I want to 
use .. so that is a good sign?
Henrik
19-Dec-2006
[974]
not necessarily...
Graham
19-Dec-2006
[975]
implying that specific distros need specific support?
Henrik
19-Dec-2006
[976x3]
probably specific series of distros. some distros use different ways 
of handling configuration, installation and some distros are changing 
the library versions constantly.
anyone tried replacing the program icon in an encapped app? I just 
get a compression error when trying to open the app after the icon 
has been replaced.
I used reshacker as recommended in the docs.
Ashley
19-Dec-2006
[979]
Does this help: http://www.dobeash.com/RebGUI/cookbook.html#section-2
Henrik
19-Dec-2006
[980x2]
when trying to do it manually, I get the compression error. if I 
try it with scripting, I just get "invalid command" in the reshacker 
log. is it illegal to provide full path to the executable?
hmm... should try a different icon.
Ashley
19-Dec-2006
[982]
Paths are fine, just need to be fully qualified local (not REBOL). 
Key is to ensure that after replacing icons they are in the same 
order and have the same dimensions and depths as before. You can 
use reshacker to do a before and after check.


The example I use in the link above has everything in the same directory. 
Get that working first before worrying about paths.
Henrik
19-Dec-2006
[983x4]
the icon I used had only one 16x16 icon. that's probably why it didn't 
work
it works now for the manual one. now to get the scripting part to 
work.
found the error. thanks :-)
not so much luck with changing the file version though...
Ashley
20-Dec-2006
[987]
Key there is to keep it as a 4-part tuple.
Henrik
20-Dec-2006
[988]
found out... seems to work now
Gabriele
22-Dec-2006
[989]
basically the size of the .ico file (in bytes) *must* match exactly 
the built in one. which means that you need same color depth, size 
etc.
Henrik
22-Dec-2006
[990]
you do have to fiddle quite a bit, but it works. I wish the SDK docs 
mentioned a bit more about this. it would reduce the amount of fiddling 
:-)
Maxim
22-Dec-2006
[991]
I wish The encaps would use real resources for the code, so that 
we would not have to fiddle in the first place.  and we would also 
be able to use PATH env variables to launch encapped scripts
Henrik
22-Dec-2006
[992]
yes, if it worked internally, maybe it could be possible to produce 
windows builds on a linux/OSX machine?