You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(10) |
Sep
(6) |
Oct
|
Nov
(42) |
Dec
(10) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(4) |
Feb
(17) |
Mar
(8) |
Apr
(9) |
May
(12) |
Jun
(28) |
Jul
(8) |
Aug
(8) |
Sep
(15) |
Oct
(21) |
Nov
(39) |
Dec
(13) |
| 2004 |
Jan
(128) |
Feb
(32) |
Mar
(46) |
Apr
(98) |
May
(51) |
Jun
(26) |
Jul
(54) |
Aug
(16) |
Sep
(45) |
Oct
(71) |
Nov
(12) |
Dec
(9) |
| 2005 |
Jan
|
Feb
(4) |
Mar
(57) |
Apr
(37) |
May
(11) |
Jun
(5) |
Jul
(14) |
Aug
(65) |
Sep
(16) |
Oct
(2) |
Nov
(36) |
Dec
(21) |
| 2006 |
Jan
(79) |
Feb
(81) |
Mar
(15) |
Apr
(60) |
May
(56) |
Jun
(26) |
Jul
(12) |
Aug
(3) |
Sep
(3) |
Oct
(2) |
Nov
(20) |
Dec
(114) |
| 2007 |
Jan
(45) |
Feb
(15) |
Mar
(3) |
Apr
(12) |
May
(6) |
Jun
(14) |
Jul
(8) |
Aug
|
Sep
(14) |
Oct
(5) |
Nov
(21) |
Dec
(9) |
| 2008 |
Jan
(53) |
Feb
(3) |
Mar
(5) |
Apr
(30) |
May
(40) |
Jun
(31) |
Jul
(84) |
Aug
(15) |
Sep
(56) |
Oct
(17) |
Nov
(6) |
Dec
(40) |
| 2009 |
Jan
(9) |
Feb
(11) |
Mar
(39) |
Apr
(8) |
May
(4) |
Jun
(4) |
Jul
(2) |
Aug
(1) |
Sep
(3) |
Oct
|
Nov
(15) |
Dec
(30) |
| 2010 |
Jan
(4) |
Feb
(22) |
Mar
(6) |
Apr
(6) |
May
(12) |
Jun
(21) |
Jul
(5) |
Aug
(7) |
Sep
(2) |
Oct
|
Nov
(1) |
Dec
|
| 2011 |
Jan
(1) |
Feb
(4) |
Mar
(7) |
Apr
(2) |
May
(7) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(11) |
Jun
(4) |
Jul
(3) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
1
|
2
|
3
|
|
4
|
5
|
6
(4) |
7
(2) |
8
(2) |
9
(4) |
10
(3) |
|
11
(1) |
12
(1) |
13
|
14
|
15
|
16
|
17
|
|
18
|
19
|
20
|
21
|
22
|
23
(1) |
24
|
|
25
|
26
|
27
|
28
|
29
|
30
(3) |
|
|
From: strk <st...@ke...> - 2007-11-30 20:35:45
|
On Fri, Nov 30, 2007 at 06:25:19PM +0100, peterdd wrote:
> The --prefix seems to be ignored for building the perl-ext the autostuff way.
> At least in perl_ext/Makefile.perl.
> So running 'make install' from ming root-dir it tries to install to /usr
> hierarchy.
>
> I found the prefix is set to default /usr there and when I change it to my
> wanted prefix and then run 'make install' in ming root it works the way I
> wanted it.
>
> Is there a good reason for this behavior?
No good reaon, just lack of Makefile.PL knowledge/entusiasm :)
> Autostuff guys?
Makefile.perl is generated from Makefile.PL
using this command (in Makefile.am rule):
Makefile.perl: Makefile.PL
srcdir=$(srcdir) builddir=$(abs_builddir) $(PERL) $< MAKEFILE=Makefile.perl
There's no explicit setting for install dir in Makefile.PL, I belive it all comes
from $(PERL) itself ...
perl guys ?
--strk;
|
|
From: Albrecht K. <kl...@ak...> - 2007-11-30 19:30:41
|
Hi,
if you compile a line like this:
xtext=abs(3>4? 5:6);
the Ming as compiler seems to generate invalid code,
listswf tells us as follows:
66:SWFACTION_PUSH
[000] Constant: 0 "xtext"
[001] Integer: 4
[002] Integer: 3
81:SWFACTION_LESS2
82:SWFACTION_IF
BranchOffset: 13, TargetOffset: 100
2 Action
87:SWFACTION_PUSH
[000] Integer: 6
95:SWFACTION_JUMP
BranchOffset: 8, TargetOffset: 108<------ jump just into operation
100:SWFACTION_PUSH
[000] Integer: 5
[001] Integer: 1
[002] Constant: 1 "Math"
115:SWFACTION_GETVARIABLE
116:SWFACTION_PUSH
[000] Constant: 2 "abs"
121:SWFACTION_CALLMETHOD
To compare I tried MTASC with better results:
255:SWFACTION_PUSH
[000] Constant: 5 "xtext"
[001] Integer: 3
[002] Integer: 4
270:SWFACTION_GREATER
271:SWFACTION_IF
BranchOffset: 13, TargetOffset: 289
2 Action
276:SWFACTION_PUSH
[000] Integer: 6
284:SWFACTION_JUMP
BranchOffset: 8, TargetOffset: 297
289:SWFACTION_PUSH
[000] Integer: 5
297:SWFACTION_PUSH<--------------------- an additional PUSH here
[000] Integer: 1
[001] Constant: 6 "Math"
307:SWFACTION_GETVARIABLE
308:SWFACTION_PUSH
[000] Constant: 7 "abs"
313:SWFACTION_CALLMETHOD
As we can see, the 3rd PUSH should be splitted into 2 operations.
Does someone could solve this problem ???
Cheers
Albrecht
|
|
From: peterdd <mi...@li...> - 2007-11-30 17:17:04
|
The --prefix seems to be ignored for building the perl-ext the autostuff way. At least in perl_ext/Makefile.perl. So running 'make install' from ming root-dir it tries to install to /usr hierarchy. I found the prefix is set to default /usr there and when I change it to my wanted prefix and then run 'make install' in ming root it works the way I wanted it. Is there a good reason for this behavior? Autostuff guys? peterdd |
|
From: strk <st...@ke...> - 2007-11-23 20:57:03
|
Cleaning up headers and the PNG/GIF support I found a bug in the C++ binding resulting in a segfault when SWF_error is used. This bug can be reproduced by runnign make check against current head. I'm telling you as I dunno when I'll have time to research about it, so in case anyone wants to take a look.... One thing to verify is if the GIF/PNG interfaces work fine when Ming is built w/out GIF/PNG support, that is they trigger an SWF_error call and return NULL... I don't remember if SWF_error also quits or not. --strk; () ASCII Ribbon Campaign /\ Keep it simple! |
|
From: Klaus R. <kla...@rz...> - 2007-11-12 09:34:47
|
Hi,
> But now I found another little bug which is there also in php:
> with my script attached the chars 'wyz' are rendered always uppercase when
> I use the exported font in another swf (created with haxe)
> while the font works well if I use it in a textfield directly...
> tried a few fonts - always the same result.
Have you tried other combinations ? Like using the exported font again with=
=20
ming or Adobe IDE ?=20
Klaus
>
> #!/usr/bin/perl -w
> use strict;
> BEGIN{
> use CGI qw(:standard);
> #print header('text/html');
> #print "<pre style=3D'font-family:Arial;font-size:14px;'>";
> use Carp qw( cluck );
> $|=3D1;
> open STDERR, ">&STDOUT" or die "Content-type:text/html\n\noops" ;
> $SIG{__DIE__} =3D sub{
> print header('text/html');
> print "<div
> style=3D'position:relative;width:800px;font-family:Arial;font-size:14px;'=
>";
> Carp::cluck;
> print "</div>";
> close STDERR;
> };
> }
> my $sample =3D param('sample') ? param('sample') :
> 'abcdefghijklmnopqrstuvxyzABCDEFGHIJKLMNOPQRDSTUVWXYZ1234567890@=E2=82=AC=
=C2=A7$%&/()=3D"!
>?[]{}#+*,. =C3=9F_-;:<>';
> $|=3D1;
> use SWF qw( :ALL );
>
> SWF::setVersion(8);
>
> my $m =3D new SWF::Movie();
> $m->setBackground(0xaa, 0xaa, 0xff);
> my $fontPath =3D '/home/axel/.gimp-2.2/fonts/freehan1.ttf';
> $fontPath =3D 'BIMINI__.ttf';
> #$fontPath =3D
> '/srv/www/htdocs/teamtrier.de/httpdocs/truetype/BIMINI__.TTF';
> $fontPath =3D '/home/axel/.gimp-2.2/fonts/BIMINI__.TTF';
> $fontPath =3D '/home/axel/.gimp-2.2/fonts/quill_s.ttf';
>
> die("Font $fontPath not found") unless -f $fontPath;
> my $font=3Dnew SWF::Font($fontPath);
>
> my $fontChar =3D $m->addFont($font);
> $fontChar->addChars($sample);
> $m->addExport($fontChar, "sample");
> $m->writeExports();
> $m->nextFrame();
> my $b =3D $m->save("sample.swf", 9);
> print header(),"$b bytes written to sample.swf\n";
>
> >>Hmm, I was surprised that no extra module SWF::FontCharacter
> >>was build
> >>- meanwhile I noticed that use SWF qw(:ALL) dosn't work anymore :
> >>Can't locate SWF/FontCharacter.pm in @INC
> >
> >I added FontCharacter.pm. Should work now...
> >
> > Klaus
|
|
From: Axel H. <ax...@3d...> - 2007-11-11 06:23:26
|
Hi Klaus,
all reported problems solved.
But now I found another little bug which is there also in php:
with my script attached the chars 'wyz' are rendered always uppercase when
I use the exported font in another swf (created with haxe)
while the font works well if I use it in a textfield directly...
tried a few fonts - always the same result.
#!/usr/bin/perl -w
use strict;
BEGIN{
use CGI qw(:standard);
#print header('text/html');
#print "<pre style='font-family:Arial;font-size:14px;'>";
use Carp qw( cluck );
$|=1;
open STDERR, ">&STDOUT" or die "Content-type:text/html\n\noops" ;
$SIG{__DIE__} = sub{
print header('text/html');
print "<div
style='position:relative;width:800px;font-family:Arial;font-size:14px;' >";
Carp::cluck;
print "</div>";
close STDERR;
};
}
my $sample = param('sample') ? param('sample') :
'abcdefghijklmnopqrstuvxyzABCDEFGHIJKLMNOPQRDSTUVWXYZ1234567890@€§$%&/()="!?[]{}#+*,.
ß_-;:<>';
$|=1;
use SWF qw( :ALL );
SWF::setVersion(8);
my $m = new SWF::Movie();
$m->setBackground(0xaa, 0xaa, 0xff);
my $fontPath = '/home/axel/.gimp-2.2/fonts/freehan1.ttf';
$fontPath = 'BIMINI__.ttf';
#$fontPath =
'/srv/www/htdocs/teamtrier.de/httpdocs/truetype/BIMINI__.TTF';
$fontPath = '/home/axel/.gimp-2.2/fonts/BIMINI__.TTF';
$fontPath = '/home/axel/.gimp-2.2/fonts/quill_s.ttf';
die("Font $fontPath not found") unless -f $fontPath;
my $font=new SWF::Font($fontPath);
my $fontChar = $m->addFont($font);
$fontChar->addChars($sample);
$m->addExport($fontChar, "sample");
$m->writeExports();
$m->nextFrame();
my $b = $m->save("sample.swf", 9);
print header(),"$b bytes written to sample.swf\n";
>>Hmm, I was surprised that no extra module SWF::FontCharacter
>>was build
>>- meanwhile I noticed that use SWF qw(:ALL) dosn't work anymore :
>>Can't locate SWF/FontCharacter.pm in @INC
>>
>>
>
>I added FontCharacter.pm. Should work now...
>
> Klaus
>
>
>
>
>
|
|
From: Klaus R. <kla...@rz...> - 2007-11-10 14:05:33
|
Hi, > Trying to update my ming perl on my vserver doesn't work yet. After > installation > my perl scripts fail with: > > SWF object version 0.4.0-beta6_02 does not match bootstrap parameter > 0.4.0-beta at /usr/lib/perl5/5.8.8/i586-linux-thread-multi/DynaLoader.pm > line 253 unclean installation maybe ? Some leftovers from a previous installation ? > p.s. forgot to mention something weird: > after updating cvs your actual changes in Fonts.xs > are merged into the version of my local file in an uncorrect way > including lines with >>>..., ===... and <<<... > I had to delete the file first to get your new version correctly. Thats the behaviour you want from CVS ;). You don't want CVS to overwrite / merge your own modifications... Therefore it marks it as a conflict and you have to choose a version ! Klaus |
|
From: Klaus R. <kla...@rz...> - 2007-11-10 14:01:53
|
Hi, > for Adding addFont to Movie.xs > and writing the SWFFontChar.xs still need some advice from a perl guru... Added it to CVS. Could you give it a try ? Klaus |
|
From: Axel H. <ax...@3d...> - 2007-11-10 06:18:50
|
Hi Klaus, Trying to update my ming perl on my vserver doesn't work yet. After installation my perl scripts fail with: SWF object version 0.4.0-beta6_02 does not match bootstrap parameter 0.4.0-beta at /usr/lib/perl5/5.8.8/i586-linux-thread-multi/DynaLoader.pm line 253 Any ideas where to fix this? Axel p.s. forgot to mention something weird: after updating cvs your actual changes in Fonts.xs are merged into the version of my local file in an uncorrect way including lines with >>>..., ===... and <<<... I had to delete the file first to get your new version correctly. |
|
From: Axel H. <ax...@3d...> - 2007-11-09 17:33:32
|
Klaus Rechert schrieb:
>Hi Alex,
>
>actually it is not recommended to use loadSWFFontTTF().
>
>newSWFFont_fromFile(char *filename) is the recommended interface. It
>determines the file format by its fingerprint, which is much safer than
>relying on the file extension.
>
>I fixed Font.xs in CVS to:
>
>if (strncasecmp(filename+len-4, ".fdb", 4) == 0
> || strncmp(filename+len-4, ".ttf", 4) == 0 )
>{
> RETVAL = newSWFFont_fromFile(filename);
>}
>else
> RETVAL = newSWFBrowserFont(filename);
>
>
>Please test...
> Klaus
>
>
ok - works
>On Friday 09 November 2007 16:24:19 Axel Huizinga wrote:
>
>
>>Hi,
>>
>>just updated the perl_ext to support ttf fonts.
>>Changed the Fonts.xs by inserting an additonal
>>
>> else if(strncmp(filename+len-4, ".ttf", 4) == 0 ){
>> if (!(f = fopen(filename, "rb"))) {
>> fprintf(stderr, "Unable to open ttf file %s\n", filename);
>> XSRETURN_UNDEF;
>> }
>> else{
>> RETVAL = loadSWFFontTTF(filename);
>> fclose(f);
>> }
>> }
>>
>>into SWFFont_new
>>
>>and it works for me.
>>
>>for Adding addFont to Movie.xs
>>and writing the SWFFontChar.xs still need some advice from a perl guru...
>>
>>
What about addFont and SWFFontChar.xs? Can you give me advice how to
write this?
Axel
|
|
From: Klaus R. <kl...@re...> - 2007-11-09 15:54:48
|
Hi Thomas,
> I had to "chmod +x config/install-sh"
Fixed that. configure takes care now.
> and in the py_ext/setup.py I had to add '/sw/lib' and 'ungif':
>
> library_dirs=['../src/.libs','/sw/lib','/usr/local/lib/'],
> libraries=['ming','z', 'png','ungif'])])
Also added 'ungif' to libraries. Someone might fix setup.py.in to add the
libraries only if they are enabled in src/ming_config.h
> Most of the functions I need seem to work well, except for drawing text.
> I tried to fix the error message
>
> File "/Users/tanner/python/ming.py", line 482, in setFont
> self.__fonts[font.this]=font
> TypeError: unhashable type
Fixed that also.
> from ming import *
> Ming_setScale(1.0)
> m = SWFMovie()
> m.setDimension(6400, 4800)
> font = SWFFont("_sans")
^^^^^^^^^^^^^^
please use SWFBrowserFont("_sans") for non-filebased fonts. You need to
update to CVS HEAD first!
in contrast
SWFFont() takes a filename of ttf/fdb fontfiles.
> text = SWFText()
> text.setFont(font)
> text.setColor(0,0,0)
> text.setHeight(16) <-
Btw: together with Ming_setScale(1.0) your font is 16/20 pixel big...
Default scale is 20.0 which means 20 TWIPS correspond to 1 px.
Thanks for your help improving ming!
Klaus
|
|
From: Klaus R. <kla...@rz...> - 2007-11-09 15:42:26
|
Hi Alex,
actually it is not recommended to use loadSWFFontTTF().
newSWFFont_fromFile(char *filename) is the recommended interface. It
determines the file format by its fingerprint, which is much safer than
relying on the file extension.
I fixed Font.xs in CVS to:
if (strncasecmp(filename+len-4, ".fdb", 4) == 0
|| strncmp(filename+len-4, ".ttf", 4) == 0 )
{
RETVAL = newSWFFont_fromFile(filename);
}
else
RETVAL = newSWFBrowserFont(filename);
Please test...
Klaus
On Friday 09 November 2007 16:24:19 Axel Huizinga wrote:
> Hi,
>
> just updated the perl_ext to support ttf fonts.
> Changed the Fonts.xs by inserting an additonal
>
> else if(strncmp(filename+len-4, ".ttf", 4) == 0 ){
> if (!(f = fopen(filename, "rb"))) {
> fprintf(stderr, "Unable to open ttf file %s\n", filename);
> XSRETURN_UNDEF;
> }
> else{
> RETVAL = loadSWFFontTTF(filename);
> fclose(f);
> }
> }
>
> into SWFFont_new
>
> and it works for me.
>
> for Adding addFont to Movie.xs
> and writing the SWFFontChar.xs still need some advice from a perl guru...
>
> Axel
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Ming-devr mailing list
> Min...@li...
> https://lists.sourceforge.net/lists/listinfo/ming-devr
|
|
From: Axel H. <ax...@3d...> - 2007-11-09 15:24:28
|
Hi,
just updated the perl_ext to support ttf fonts.
Changed the Fonts.xs by inserting an additonal
else if(strncmp(filename+len-4, ".ttf", 4) == 0 ){
if (!(f = fopen(filename, "rb"))) {
fprintf(stderr, "Unable to open ttf file %s\n", filename);
XSRETURN_UNDEF;
}
else{
RETVAL = loadSWFFontTTF(filename);
fclose(f);
}
}
into SWFFont_new
and it works for me.
for Adding addFont to Movie.xs
and writing the SWFFontChar.xs still need some advice from a perl guru...
Axel
|
|
From: Axel H. <ax...@3d...> - 2007-11-08 13:55:55
|
Klaus Rechert schrieb: >On Wednesday 07 November 2007 20:57:00 Axel Huizinga wrote: > > >>Hi, >> >>trying to send a movieclip to stdout with a c cgi script fails without >>any error message. >>The debug player doesn't load the stream - mozilla even crashes on >>rightclick... >>tried >> a) SWFMovie_output_to_stream(m, stdout); >> >> >works fine here. >./test > output.swf > > > Sorry - the problem was an additional no-cache header I send mistakenly after the content-type header... But my other question is still important: Anybody still working to keep the perl_ext up to date? Axel |
|
From: Klaus R. <kla...@rz...> - 2007-11-08 12:00:36
|
On Wednesday 07 November 2007 20:57:00 Axel Huizinga wrote: > Hi, > > trying to send a movieclip to stdout with a c cgi script fails without > any error message. > The debug player doesn't load the stream - mozilla even crashes on > rightclick... > tried > a) SWFMovie_output_to_stream(m, stdout); works fine here. ./test > output.swf Maybe adding a fflush(stdout) helps ??? Klaus |
|
From: Axel H. <ax...@3d...> - 2007-11-07 19:57:07
|
Hi, trying to send a movieclip to stdout with a c cgi script fails without any error message. The debug player doesn't load the stream - mozilla even crashes on rightclick... tried a) SWFMovie_output_to_stream(m, stdout); b) SWFMovie_output(m, fileOutputMethod, stdout); the code works well when saved to file. Can sombody send me a working example c code with output to stdout? --- Anybody out there to help me update the perl_ext with ttf support and addFont? Cordially, Axel |
|
From: Axel H. <ax...@3d...> - 2007-11-07 15:32:10
|
Hi Klaus,
good service :-)
works now.
>Thanks!
>
>The problem was a double free caused by the php-wrapper. CVS is fixed! Please
>update and test.
>
> Klaus
>
>
>Am Dienstag 06 November 2007 22:26:28 schrieb Axel Huizinga:
>
>
>>Hi,
>>this is my code:
>>
>> $fontPath ="/home/axel/.gimp-2.2/fonts/african.ttf";
>> if(!file_exists($fontPath)) exit("Font $fontPath not found");
>>
>> ming_useswfversion(8);
>> $m = new SWFMovie();
>> $font=new SWFFont($fontPath);
>> $char = $m->addFont($font);
>> $char->addChars('ABC');
>> $m->addExport($char, 'african');
>> $m->writeExports();
>> #$m->nextFrame();
>> header('Pragma: no-cache');
>> header('Cache-control: no-cache, must revalidate');
>> header('Content-type: application/x-shockwave-flash');
>> $m->output(9);
>>
>>
>>-------------------------------------------------------------------------
>>This SF.net email is sponsored by: Splunk Inc.
>>Still grepping through log files to find problems? Stop.
>>Now Search log events and configuration files using AJAX and a browser.
>>Download your FREE copy of Splunk now >> http://get.splunk.com/
>>_______________________________________________
>>Ming-devr mailing list
>>Min...@li...
>>https://lists.sourceforge.net/lists/listinfo/ming-devr
>>
>>
>>
>
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems? Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >> http://get.splunk.com/
>_______________________________________________
>Ming-devr mailing list
>Min...@li...
>https://lists.sourceforge.net/lists/listinfo/ming-devr
>
>
>
|
|
From: Klaus R. <kl...@re...> - 2007-11-06 23:12:00
|
Thanks!
The problem was a double free caused by the php-wrapper. CVS is fixed! Please
update and test.
Klaus
Am Dienstag 06 November 2007 22:26:28 schrieb Axel Huizinga:
> Hi,
> this is my code:
>
> $fontPath ="/home/axel/.gimp-2.2/fonts/african.ttf";
> if(!file_exists($fontPath)) exit("Font $fontPath not found");
>
> ming_useswfversion(8);
> $m = new SWFMovie();
> $font=new SWFFont($fontPath);
> $char = $m->addFont($font);
> $char->addChars('ABC');
> $m->addExport($char, 'african');
> $m->writeExports();
> #$m->nextFrame();
> header('Pragma: no-cache');
> header('Cache-control: no-cache, must revalidate');
> header('Content-type: application/x-shockwave-flash');
> $m->output(9);
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Ming-devr mailing list
> Min...@li...
> https://lists.sourceforge.net/lists/listinfo/ming-devr
>
|
|
From: Axel H. <ax...@3d...> - 2007-11-06 21:26:35
|
Hi,
this is my code:
$fontPath ="/home/axel/.gimp-2.2/fonts/african.ttf";
if(!file_exists($fontPath)) exit("Font $fontPath not found");
ming_useswfversion(8);
$m = new SWFMovie();
$font=new SWFFont($fontPath);
$char = $m->addFont($font);
$char->addChars('ABC');
$m->addExport($char, 'african');
$m->writeExports();
#$m->nextFrame();
header('Pragma: no-cache');
header('Cache-control: no-cache, must revalidate');
header('Content-type: application/x-shockwave-flash');
$m->output(9);
|
|
From: Klaus R. <kl...@re...> - 2007-11-06 21:02:27
|
Hi, the stack trace is not very usefull. Could you add your example ? Klaus Am Dienstag 06 November 2007 20:19:15 schrieb Axel Huizinga: > Hi, > trying to create an export lib with > addFont > fails with a stacktrace: > 2b9e39f22000-2b9e39f24000 rw-p 0001e000 08:05 3868693 > /usr/local/lib/php/extensions/no-debug-non-zts-20050922/ming.so > 2b9e39f64000-2b9e39fbe000 r-xp 00000000 08:05 4441481 > /usr/local/lib/libming.so.0.4.0 > 2b9e39fbe000-2b9e3a1bd000 ---p 0005a000 08:05 4441481 > /usr/local/lib/libming.so.0.4.0 > 2b9e3a1bd000-2b9e3a1bf000 r--p 00059000 08:05 4441481 > /usr/local/lib/libming.so.0.4.0 > 2b9e3a1bf000-2b9e3a1c1000 rw-p 0005b000 08:05 4441481 > /usr/local/lib/libming.so.0.4.0 > 2b9e3a1c1000-2b9e3a1c4000 rw-p 2b9e3a1c1000 00:00 0 > 2b9e3a1c4000-2b9e3a1cc000 r-xp 00000000 08:05 3704643 > /usr/lib64/libgif.so.4.1.4 > 2b9e3a1cc000-2b9e3a3cb000 ---p 00008000 08:05 3704643 > /usr/lib64/libgif.so.4.1.4 > 2b9e3a3cb000-2b9e3a3cd000 rw-p 00007000 08:05 3704643 > /usr/lib64/libgif.so.4.1.4 > 2b9e3a3cd000-2b9e3a3d6000 r-xp 00000000 08:05 3703868 > /usr/lib64/libSM.so.6.0.0 > 2b9e3a3d6000-2b9e3a5d6000 ---p 00009000 08:05 3703868 > /usr/lib64/libSM.so.6.0.0 > 2b9e3a5d6000-2b9e3a5d8000 rw-p 00009000 08:05 3703868 > /usr/lib64/libSM.so.6.0.0 > 2b9e3a5d8000-2b9e3a5ef000 r-xp 00000000 08:05 3703007 > /usr/lib64/libICE.so.6.3.0 > 2b9e3a5ef000-2b9e3a7ee000 ---p 00017000 08:05 3703007 > /usr/lib64/libICE.so.6.3.0 > 2b9e3a7ee000-2b9e3a7f0000 rw-p 00016000 08:05 3703007 > /usr/lib64/libICE.so.6.3.0 > 2b9e3a7f0000-2b9e3a7f4000 rw-p 2b9e3a7f0000 00:00 0 > 2b9e3a7f4000-2b9e3a802000 r-xp 00000000 08:05 3868271 > /usr/local/lib/php/extensions/no-debug-non-zts-20050922/ssh2.so > 2b9e3a802000-2b9e3a902000 ---p 0000e000 08:05 3868271 > /usr/local/lib/php/extensions/no-debug-non-zts-20050922/ssh2.so > 2b9e3a902000-2b9e3a903000 rw-p 0000e000 08:05 3868271 > /usr/local/lib/php/extensions/no-debug-non-zts-20050922/ssh2.so > 2b9e3a903000-2b9e3a91e000 r-xp 00000000 08:05 4442144 > /usr/local/lib/libssh2.so > 2b9e3a91e000-2b9e3aa1e000 ---p 0001b000 08:05 4442144 > /usr/local/lib/libssh2.so > 2b9e3aa1e000-2b9e3aa1f000 rw-p 0001b000 08:05 4442144 > /usr/local/lib/libssh2.so > 2b9e3aa1f000-2b9e3aa31000 rw-s 00000000 00:08 14570 /dev/zero (deleted) > 2b9e3aa5f000-2b9e3aa90000 r-xp 00000000 08:05 3702927 > /usr/lib64/libssl.so.0.9.7 > 2b9e3aa90000-2b9e3ac90000 ---p 00031000 08:05 3702927 > /usr/lib64/libssl.so.0.9.7 > 2b9e3ac90000-2b9e3ac95000 rw-p 00031000 08:05 3702927 > /usr/lib64/libssl.so.0.9.7 > 2b9e3ac95000-2b9e3ac96000 rw-p 2b9e3ac95000 00:00 0 > 2b9e3ac96000-2b9e3adab000 r-xp 00000000 08:05 3702926 > /usr/lib64/libcrypto.so.0.9.7 > 2b9e3adab000-2b9e3afab000 ---p 00115000 08:05 3702926 > /usr/lib64/libcrypto.so.0.9.7 > 2b9e3afab000-2b9e3afb3000 r--p 00115000 08:05 3702926 > /usr/lib64/libcrypto.so.0.9.7 > 2b9e3afb3000-2b9e3afc9000 rw-p 0011d000 08:05 3702926 > /usr/lib64/libcrypto.so.0.9.7 > 2b9e3afc9000-2b9e3afce000 rw-p 2b9e3afc9000 00:00 0 > 2b9e3afce000-2b9e3afdb000 r-xp 00000000 08:05 5488682 /lib64/libgcc_s.so.1 > 2b9e3afdb000-2b9e3b1da000 ---p 0000d000 08:05 5488682 /lib64/libgcc_s.so.1 > 2b9e3b1da000-2b9e3b1dc000 rw-p 0000c000 08:05 5488682 /lib64/libgcc_s.so.1 > 2b9e3c000000-2b9e3c021000 rw-p 2b9e3c000000 00:00 0 > 2b9e3c021000-2b9e40000000 ---p 2b9e3c021000 00:00 0 > 7fff7e2b4000-7fff7e2cb000 rw-p 7fff7e2b4000 00:00 0 [stack] > ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso] > [Tue Nov 06 20:11:37 2007] [notice] child pid 25551 exit signal Aborted (6) > > anybody using addFont successful? > > Cordially, > Axel > |
|
From: Axel H. <ax...@3d...> - 2007-11-06 19:19:23
|
Hi, trying to create an export lib with addFont fails with a stacktrace: 2b9e39f22000-2b9e39f24000 rw-p 0001e000 08:05 3868693 /usr/local/lib/php/extensions/no-debug-non-zts-20050922/ming.so 2b9e39f64000-2b9e39fbe000 r-xp 00000000 08:05 4441481 /usr/local/lib/libming.so.0.4.0 2b9e39fbe000-2b9e3a1bd000 ---p 0005a000 08:05 4441481 /usr/local/lib/libming.so.0.4.0 2b9e3a1bd000-2b9e3a1bf000 r--p 00059000 08:05 4441481 /usr/local/lib/libming.so.0.4.0 2b9e3a1bf000-2b9e3a1c1000 rw-p 0005b000 08:05 4441481 /usr/local/lib/libming.so.0.4.0 2b9e3a1c1000-2b9e3a1c4000 rw-p 2b9e3a1c1000 00:00 0 2b9e3a1c4000-2b9e3a1cc000 r-xp 00000000 08:05 3704643 /usr/lib64/libgif.so.4.1.4 2b9e3a1cc000-2b9e3a3cb000 ---p 00008000 08:05 3704643 /usr/lib64/libgif.so.4.1.4 2b9e3a3cb000-2b9e3a3cd000 rw-p 00007000 08:05 3704643 /usr/lib64/libgif.so.4.1.4 2b9e3a3cd000-2b9e3a3d6000 r-xp 00000000 08:05 3703868 /usr/lib64/libSM.so.6.0.0 2b9e3a3d6000-2b9e3a5d6000 ---p 00009000 08:05 3703868 /usr/lib64/libSM.so.6.0.0 2b9e3a5d6000-2b9e3a5d8000 rw-p 00009000 08:05 3703868 /usr/lib64/libSM.so.6.0.0 2b9e3a5d8000-2b9e3a5ef000 r-xp 00000000 08:05 3703007 /usr/lib64/libICE.so.6.3.0 2b9e3a5ef000-2b9e3a7ee000 ---p 00017000 08:05 3703007 /usr/lib64/libICE.so.6.3.0 2b9e3a7ee000-2b9e3a7f0000 rw-p 00016000 08:05 3703007 /usr/lib64/libICE.so.6.3.0 2b9e3a7f0000-2b9e3a7f4000 rw-p 2b9e3a7f0000 00:00 0 2b9e3a7f4000-2b9e3a802000 r-xp 00000000 08:05 3868271 /usr/local/lib/php/extensions/no-debug-non-zts-20050922/ssh2.so 2b9e3a802000-2b9e3a902000 ---p 0000e000 08:05 3868271 /usr/local/lib/php/extensions/no-debug-non-zts-20050922/ssh2.so 2b9e3a902000-2b9e3a903000 rw-p 0000e000 08:05 3868271 /usr/local/lib/php/extensions/no-debug-non-zts-20050922/ssh2.so 2b9e3a903000-2b9e3a91e000 r-xp 00000000 08:05 4442144 /usr/local/lib/libssh2.so 2b9e3a91e000-2b9e3aa1e000 ---p 0001b000 08:05 4442144 /usr/local/lib/libssh2.so 2b9e3aa1e000-2b9e3aa1f000 rw-p 0001b000 08:05 4442144 /usr/local/lib/libssh2.so 2b9e3aa1f000-2b9e3aa31000 rw-s 00000000 00:08 14570 /dev/zero (deleted) 2b9e3aa5f000-2b9e3aa90000 r-xp 00000000 08:05 3702927 /usr/lib64/libssl.so.0.9.7 2b9e3aa90000-2b9e3ac90000 ---p 00031000 08:05 3702927 /usr/lib64/libssl.so.0.9.7 2b9e3ac90000-2b9e3ac95000 rw-p 00031000 08:05 3702927 /usr/lib64/libssl.so.0.9.7 2b9e3ac95000-2b9e3ac96000 rw-p 2b9e3ac95000 00:00 0 2b9e3ac96000-2b9e3adab000 r-xp 00000000 08:05 3702926 /usr/lib64/libcrypto.so.0.9.7 2b9e3adab000-2b9e3afab000 ---p 00115000 08:05 3702926 /usr/lib64/libcrypto.so.0.9.7 2b9e3afab000-2b9e3afb3000 r--p 00115000 08:05 3702926 /usr/lib64/libcrypto.so.0.9.7 2b9e3afb3000-2b9e3afc9000 rw-p 0011d000 08:05 3702926 /usr/lib64/libcrypto.so.0.9.7 2b9e3afc9000-2b9e3afce000 rw-p 2b9e3afc9000 00:00 0 2b9e3afce000-2b9e3afdb000 r-xp 00000000 08:05 5488682 /lib64/libgcc_s.so.1 2b9e3afdb000-2b9e3b1da000 ---p 0000d000 08:05 5488682 /lib64/libgcc_s.so.1 2b9e3b1da000-2b9e3b1dc000 rw-p 0000c000 08:05 5488682 /lib64/libgcc_s.so.1 2b9e3c000000-2b9e3c021000 rw-p 2b9e3c000000 00:00 0 2b9e3c021000-2b9e40000000 ---p 2b9e3c021000 00:00 0 7fff7e2b4000-7fff7e2cb000 rw-p 7fff7e2b4000 00:00 0 [stack] ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso] [Tue Nov 06 20:11:37 2007] [notice] child pid 25551 exit signal Aborted (6) anybody using addFont successful? Cordially, Axel |