Wine Font Rendering

2006-02-14 Thread Roland Kaser
Hello

Sorry, this is the second post for this reason, but it's important for me to
sort this problem out. Can somebody try to get a answer? 

I noticed a strange behavior of the Font/Vector objects functionality of
Corel Draw on diffrent SuSE 10 Systems. On one system Rotated Text  works
fine (without any failure) on a other system, rotated fonts became
invisible on the screen. At pdf export, the fonts are normally visible. So
it seems to be a graphics subsystem error. No winedebug output at all.

Can somebody tell me which system libraries used for the font rendering
functions? So that I can compare the two systems to find out where the
font-rendering error cames from.

Many thanks

Roland Kaeser





Copy / Paste with complex Objects

2006-02-14 Thread Roland Kaser
Hello

Sorry, this is the second post for this reason, but it's important for me to
sort this problem out. Can somebody try to get a answer? 

I noticed a strange behavior of the copy/paste functionality of Corel Draw
on diffrent SuSE 10 Systems. On one system copy/paste works fine (without
any failure) on a other system there is no function at all. (itss storage
error). 

Can somebody tell me which system libraries used for the copy/paste
functions? So that I can compare the two systems to find out where the
copy/paste error cames from.

Many thanks

Roland Kaeser





Re: Wine Font Rendering

2006-02-14 Thread Marcus Meissner
On Tue, Feb 14, 2006 at 09:08:10AM +0100, Roland Kaser wrote:
 Hello
 
 Sorry, this is the second post for this reason, but it's important for me to
 sort this problem out. Can somebody try to get a answer? 
 
 I noticed a strange behavior of the Font/Vector objects functionality of
 Corel Draw on diffrent SuSE 10 Systems. On one system Rotated Text  works
 fine (without any failure) on a other system, rotated fonts became
 invisible on the screen. At pdf export, the fonts are normally visible. So
 it seems to be a graphics subsystem error. No winedebug output at all.
 
 Can somebody tell me which system libraries used for the font rendering
 functions? So that I can compare the two systems to find out where the
 font-rendering error cames from.

Its using freetype2, libXft and libXrender.

It might also depend on what truetype fonts you have installed.

Are these SUSE Linux 10.0 systems both 32bit systems?

Ciao, Marcus




Re: GL texture problems

2006-02-14 Thread Stefan Dösinger
Hi,
 I've only had a quick look, so I may have overlooked it, but were do
 you bind the texture?
Do I need to bind a texture? I create a new texture with glTexImage, upload a 
texture part with glTexSubImage. AFAIK this should be enought to have the 
texture available for drawing.

I tried with binding a texture before, but it gave the same results. This was 
before I knew about the red book, so I might have made other mistakes. I'll 
check this.



pgptJbQhshhrT.pgp
Description: PGP signature



Re: Wine Font Rendering

2006-02-14 Thread Huw D M Davies
On Tue, Feb 14, 2006 at 10:28:19AM +0100, Marcus Meissner wrote:
 On Tue, Feb 14, 2006 at 09:08:10AM +0100, Roland Kaser wrote:
  Hello
  
  Sorry, this is the second post for this reason, but it's important for me to
  sort this problem out. Can somebody try to get a answer? 
  
  I noticed a strange behavior of the Font/Vector objects functionality of
  Corel Draw on diffrent SuSE 10 Systems. On one system Rotated Text  works
  fine (without any failure) on a other system, rotated fonts became
  invisible on the screen. At pdf export, the fonts are normally visible. So
  it seems to be a graphics subsystem error. No winedebug output at all.
  
  Can somebody tell me which system libraries used for the font rendering
  functions? So that I can compare the two systems to find out where the
  font-rendering error cames from.
 
 Its using freetype2, libXft and libXrender.

s/libXft/fontconfig/

 
 It might also depend on what truetype fonts you have installed.

and yes, if you don't have any ttf fonts installed on one platform it
may be reverting back to XServer font rendering.

Huw.
-- 
Huw Davies
[EMAIL PROTECTED]




Re: WINEMP3: increase factor from 4 to 12 in MPEG3_StreamSize

2006-02-14 Thread Eric Pouech

Alex Villací­s Lasso wrote:
- Caller (winmm) computes required output buffer for encoded input 
buffer. This uses acmStreamSize, which in turn invokes MPEG3_StreamSize.
- MPEG3_StreamSize return a factor 4X for the size of the output buffer 
(in my tests, a 2333-byte encoded buffer expands into (at most) 9332 
bytes of output, or so reports winemp3).
- winmm happily calls acmStreamConvert() with a 2333 source buffer and a 
9332 destination buffer.
- mpglib decodes as much as it can into the 9332-byte buffer. However, 
in almost all cases, 9332 bytes is not enough to decode 2333 bytes of 
MP3 data. This is important to note, because it means a non-trivial 
amount of the MP3 data remains in the mpglib queue.
- acmStreamConvert() is called over and over, with a 2333 source buffer 
and a 9332 destination buffer. The output buffer is always too small, so 
the undecoded data in the mpglib buffers accumulates.
- winmm sends the last encoded buffer. Supposedly this means that 
decoding is complete, but it isn't, because mpglib has a backlog of 
undecoded data which has not been played. However, winmm stops there, 
and the user notices the cut in the middle of the song.


this explains a lot more why there's bad sound quality while playing mp3

In the same situation, L3CODECA.ACM reports a non-integer factor for the 
output buffer, a little under 12X. Therefore L3CODECA.ACM always has 
enough space to consume the full source buffer and therefore does not 
cut the song in the middle.


The ideal solution would be to dynamically compute the expansion factor 
based on the input and output bitrates. The attached patch raises the 
expansion factor instead to 12X to ensure that mpglib can always decode 
all the input data without running out of output space.

As you said, the factor should be computed from the input and output
formats, and shall not be a fixed factor. We need to change the factor,
but changing it for another fixed value is not the right way to go.



+buffered_before = get_num_buffered_bytes(amd-mp);

only compute it when you need (TRACE_ON...)
A+
--
Eric Pouech






Re: GL texture problems

2006-02-14 Thread H. Verbeet
On 14/02/06, Stefan Dösinger [EMAIL PROTECTED] wrote:
 Do I need to bind a texture? I create a new texture with glTexImage, upload a
 texture part with glTexSubImage. AFAIK this should be enought to have the
 texture available for drawing.
OpenGL needs to know which texture you're operating on. glBindTexture
binds a texture to a texturing target, like GL_TEXTURE_2D. If you
don't, it's not defined which texture you're operating on, although it
could be a texture you've previously bound somewhere else, and
glTexImage would overwrite it.
glGenTextures is used to allocate texture ids, glDeleteTextures is
used to free them again.




Re: Refcounting fun

2006-02-14 Thread H. Verbeet
On 13/02/06, Stefan Dösinger [EMAIL PROTECTED] wrote:
 I'd suggest that you send a patch taking whatever way you like, and ask AJ for
 his opinion.
If nobody else has a real opinion on the subject, I'll probably just
implement your idea, and see what problems I'll run into.




Re: Appdb thoughts

2006-02-14 Thread Jonathan Ernst
Le lundi 13 février 2006 à 21:48 -0800, Dan Kegel a écrit :
 Hi all,
 I've been using the Appdb a fair bit in the last
 couple months,  maintaining a couple apps and
 their bug links, and doing some quick testing of
 apps I'm not the appdb maintainer for.
 Mostly I find the appdb adequate and usable,
 but I've noticed a few things that bug me.
 Here's a quick dump of what's on my mind:
 
 1) The top 10 platinum, gold, and silver lists
 on the front page is helpful but appear
 to be manually maintained.  It'd be helpful

They are not. It depends on their votes.










Re: Appdb thoughts

2006-02-14 Thread Chris Morgan
 2) The links between bugzilla and the appdb
 are great.  I really like seeing the list of
 bugs for each app.  But the app db's
 orientation towards detailed rich text
 info about apps makes me wonder.
 I often do quick testing of apps for
 obvious bugs (like crashes) without
 really getting to know the app, and
 I don't feel qualified to say much about the
 app; I just want to link a bug to it.
 But the app db gets upset unless I fill
 in all sorts of info about the app.
 And unless I'm willing to be the app db maintainer
 for an app,  that info is
 going to quickly get out of date.
 So I'd like a way to create an app db entry
 without filling in any info about the
 app besides a bug number.


Ahh.  So the issue isn't linking a new bug to an existing application
in the appdb, its creating the new application entry from the bug link
in the cases where there is no existing appdb entry?

Chris




Re: Appdb thoughts

2006-02-14 Thread Chris Morgan
  Unfortunately, I'm not volunteering since I know nothing about the codebase
 for either project, but it is really just a matter of creating a new table
 and adding a field or two to the existing tables (and updating the
 interface, of course).

Its written in php and the source is available through cvs if you are
interested in taking a look.  We can always use help.

Chris




Re: Appdb thoughts

2006-02-14 Thread Dan Kegel
On 2/14/06, Jonathan Ernst [EMAIL PROTECTED] wrote:
  1) The top 10 platinum, gold, and silver lists
  on the front page is helpful but appear
  to be manually maintained.  It'd be helpful

 They are not. It depends on their votes.

Ah, I missed that.  But what I wrote still applies:
It'd be helpful if there was a way to use the ratings while
browsing or searching the appdb.  e.g. maybe
next to the count of apps in each category, one
could display the count of platinum, gold, and silver
apps.  That way the person browsing would know
which folders were worth browsing into.
- Dan

--
Wine for Windows ISVs: http://kegel.com/wine/isv




Re: Appdb thoughts

2006-02-14 Thread Dan Kegel
On 2/14/06, Chris Morgan [EMAIL PROTECTED] wrote:
  So I'd like a way to create an app db entry
  without filling in any info about the
  app besides a bug number.

 Ahh.  So the issue isn't linking a new bug to an existing application
 in the appdb, its creating the new application entry from the bug link
 in the cases where there is no existing appdb entry?

Both are issues.  It'd be nice if Tony didn't have to manually
slog through the new bugs to see which app they go with,
and it'd be nice if people filing bugs that had no appdb
entry could easily create one (or if one could be automatically
created).
- Dan

--
Wine for Windows ISVs: http://kegel.com/wine/isv




Re: Wine Font Rendering

2006-02-14 Thread Roland Kaeser
Marcus Meissner wrote:

 On Tue, Feb 14, 2006 at 09:08:10AM +0100, Roland Kaser wrote:
 Hello
 
 Sorry, this is the second post for this reason, but it's important for me
 to sort this problem out. Can somebody try to get a answer?
 
 I noticed a strange behavior of the Font/Vector objects functionality of
 Corel Draw on diffrent SuSE 10 Systems. On one system Rotated Text  works
 fine (without any failure) on a other system, rotated fonts became
 invisible on the screen. At pdf export, the fonts are normally visible.
 So it seems to be a graphics subsystem error. No winedebug output at all.
 
 Can somebody tell me which system libraries used for the font rendering
 functions? So that I can compare the two systems to find out where the
 font-rendering error cames from.
 
 Its using freetype2, libXft and libXrender.
 
 It might also depend on what truetype fonts you have installed.
 
 Are these SUSE Linux 10.0 systems both 32bit systems?
 
 Ciao, Marcus


Yes the programs uses the same true type fonts (the same document) on all
systems (with the exact same true type fonts), and all systems are 32-bit
systems.

Thanks 

Roland





Re: DSOUND bugs

2006-02-14 Thread Detlef Riekenberg
Am Montag, den 13.02.2006, 10:44 -0700 schrieb Jesse Allen:

  I'm really wondering why nobody has fixed the DSOUND buffer underrun bugs..

  err:dsound:DSOUND_MixOne underrun on sound buffer 0x7fda2038

 The problem is known.  It has to do with wine, increasing thread
 priority, and linux kernel.  Right now, the only way is to have root
 privileges.  This is not really considered a solution for wine.

Different here:

dosdevices/c:$ su -p
Password:
dosdevices/c:# wine Programme/VideoLAN/VLC/vlc.exe all.mp3
VLC media player 0.8.4a Janus
fixme:richedit:RichEditANSIWndProc WM_SETFONT: stub
This sound card's driver does not support direct access
The (slower) DirectSound HEL mode will be used instead.
fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=6616
 primary_done=7056)

primary_done changes to 10576 and to 7496 before i hit ctrl-c.


fixme:wave:ESD_AddRingMessage two fast messages in the queue
fixme:wave:ESD_AddRingMessage two fast messages in the queue
fixme:wave:ESD_AddRingMessage two fast messages in the queue
fixme:wave:ESD_AddRingMessage two fast messages in the queue
fixme:wave:ESD_AddRingMessage two fast messages in the queue
fixme:wave:ESD_AddRingMessage two fast messages in the queue

Ubuntu 5.04 (Gnome 2.10.0 with esd 0.2.35), wine-cvs 13.02.2006 and
wineesd.

When I start Gnome without esd and use winealsa, mp3-playback of vlc is
ok (as user).

(The AppDB-Entry for vlc is in the queue of the AppDB-Maintainers)

See also:
http://bugs.winehq.org/show_bug.cgi?id=1631


-- 
By By ...
  ... Detlef





Re: GL texture problems

2006-02-14 Thread Joseph Garvin

Stefan Dösinger wrote:


Hi,
 


I've only had a quick look, so I may have overlooked it, but were do
you bind the texture?
   

Do I need to bind a texture? I create a new texture with glTexImage, upload a 
texture part with glTexSubImage. AFAIK this should be enought to have the 
texture available for drawing.
 



But notice that glTexImage doesn't take any pointers to store the 
texture. If glTexImage did set its result to the current texture, you 
would have to recall it everytime you wanted to use that texture again 
because you couldn't store it. You need to call glBindTexture _before_ 
calling glTexImage, and _again_ before you start drawing the surface 
that is going to have that texture on it (assuming that there's the 
possibility of other things being rendered between when you create the 
texture with glTexImage and when you plan to actually use it). Make sure 
you're using glBindTexture in both places if you're not getting any 
results. Also check the parameters to glTexImage, if they're wrong you 
usually get no texture at all.





Re: DSOUND bugs

2006-02-14 Thread Tomas Carnecky

Detlef Riekenberg wrote:

Am Montag, den 13.02.2006, 10:44 -0700 schrieb Jesse Allen:


I'm really wondering why nobody has fixed the DSOUND buffer underrun bugs..



err:dsound:DSOUND_MixOne underrun on sound buffer 0x7fda2038



The problem is known.  It has to do with wine, increasing thread
priority, and linux kernel.  Right now, the only way is to have root
privileges.  This is not really considered a solution for wine.


See also:
http://bugs.winehq.org/show_bug.cgi?id=1631


runnig under root improves the situation, I don't heer the 'cracks' 
anymore, but I still hear the sound 'looping' sometimes.. especially 
when I also run TeamSpeak at the same time. Wine uses alsa and I run 
TeamSpeak through aoss32.


renicing doesn't change anything though..

tom




What to do??? -- WINE 0.9.3-0.9.7 and Photoshop 7

2006-02-14 Thread Hiji
Photoshop 7 has been broken for quite some time, and
the person who submitted the patch which broke it
can't fix it because he doesn't have PS7.  Except for
the first email, all emails sent to him have gone
unanswered.

People on the APPDB have been commenting on this for
awhile now:
http://appdb.winehq.com/appview.php?versionId=1336

PS7 is one of the more popular apps to run via Wine, I
believe.  It can't look good on the Wine community if
PS7 once ran, but no longer does.

Can anybody help?

Hiji

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




Small and Fast (was: Re: Add InitializeSecurityContext for schannel)

2006-02-14 Thread Detlef Riekenberg
Am Dienstag, den 14.02.2006, 17:34 +0530 schrieb Vijay Kiran Kamuju:

 Add InitializeSecurityContext for schannel in secur32.dll

+static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
+ PCredHandle phCredential, PCtxtHandle phContext, SEC_WCHAR
*pszTargetName,
+ ULONG fContextReq, ULONG Reserved1, ULONG TargetDataRep,
+ PSecBufferDesc pInput,ULONG Reserved2, PCtxtHandle phNewContext,
+ PSecBufferDesc pOutput, ULONG *pfContextAttr, PTimeStamp ptsExpiry)
+{

I Remembered a statement from fefe (diet-libc = www.fefe.de) about
Writing Small and Fast Software:

It is still clear, what each Argument does, when you remove the
Variable-Names from the Declaration?
- Yes: Efficient Design.
- No:  Your Interface is to generic ==  bloated

static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
 PCredHandle, PCtxtHandle, SEC_WCHAR *, ULONG, ULONG, ULONG,
 PSecBufferDesc, ULONG, PCtxtHandle, PSecBufferDesc, ULONG, PTimeStamp)
{

We all should thank the People who did such a Design :-)


-- 
By By ...
  ... Detlef





Re: What to do??? -- WINE 0.9.3-0.9.7 and Photoshop 7

2006-02-14 Thread Michael Jung
On Tuesday 14 February 2006 22:12, Hiji wrote:
 Can anybody help?

Did you try latest CVS? I don't have PS7, but this patch went in on Saturday 
and might be related (If I recall correctly, Martin mentioned the PS7 
breakage):

http://source.winehq.org/git/?p=wine.git;a=commit;h=c362d7c35ba3c02d68a9b7e42b48db210a901667

-- 
Michael Jung
[EMAIL PROTECTED]




Re: What to do??? -- WINE 0.9.3-0.9.7 and Photoshop 7

2006-02-14 Thread Hiji
--- Michael Jung [EMAIL PROTECTED] wrote:

 On Tuesday 14 February 2006 22:12, Hiji wrote:
  Can anybody help?
 
 Did you try latest CVS? I don't have PS7, but this
 patch went in on Saturday 
 and might be related (If I recall correctly, Martin
 mentioned the PS7 
 breakage):
 

http://source.winehq.org/git/?p=wine.git;a=commit;h=c362d7c35ba3c02d68a9b7e42b48db210a901667

Martin just replied to me.  I don't pull out of CVS;
so, I'll wait for the next release!

If it doesn't work out, then I'll report back.

Thanks!
Hijinio

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




Re: Small and Fast (was: Re: Add InitializeSecurityContext for schannel)

2006-02-14 Thread Marcus Meissner
On Tue, Feb 14, 2006 at 11:22:09PM +0100, Detlef Riekenberg wrote:
 Am Dienstag, den 14.02.2006, 17:34 +0530 schrieb Vijay Kiran Kamuju:
 
  Add InitializeSecurityContext for schannel in secur32.dll
 
 +static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
 + PCredHandle phCredential, PCtxtHandle phContext, SEC_WCHAR
 *pszTargetName,
 + ULONG fContextReq, ULONG Reserved1, ULONG TargetDataRep,
 + PSecBufferDesc pInput,ULONG Reserved2, PCtxtHandle phNewContext,
 + PSecBufferDesc pOutput, ULONG *pfContextAttr, PTimeStamp ptsExpiry)
 +{
 
 I Remembered a statement from fefe (diet-libc = www.fefe.de) about
 Writing Small and Fast Software:
 
 It is still clear, what each Argument does, when you remove the
 Variable-Names from the Declaration?
 - Yes: Efficient Design.
 - No:  Your Interface is to generic ==  bloated
 
 static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
  PCredHandle, PCtxtHandle, SEC_WCHAR *, ULONG, ULONG, ULONG,
  PSecBufferDesc, ULONG, PCtxtHandle, PSecBufferDesc, ULONG, PTimeStamp)
 {
 
 We all should thank the People who did such a Design :-)

However, this only works in newer C compilers as far as I know... ;)

Ciao, Marcus




Small and Fast (was: Re: Add InitializeSecurityContext for schannel)

2006-02-14 Thread Vijay Kiran Kamuju
Hi all,

I copied it from the negotiate.c
In other places like ntlm.c, its like that only.
Im not the one who actually designed secur32 ;) :P
If i did anything worng please correct me.
bye,
Vijay

On 2/15/06, Marcus Meissner [EMAIL PROTECTED] wrote:
 On Tue, Feb 14, 2006 at 11:22:09PM +0100, Detlef Riekenberg wrote:
  Am Dienstag, den 14.02.2006, 17:34 +0530 schrieb Vijay Kiran Kamuju:
 
   Add InitializeSecurityContext for schannel in secur32.dll
 
  +static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
  + PCredHandle phCredential, PCtxtHandle phContext, SEC_WCHAR
  *pszTargetName,
  + ULONG fContextReq, ULONG Reserved1, ULONG TargetDataRep,
  + PSecBufferDesc pInput,ULONG Reserved2, PCtxtHandle phNewContext,
  + PSecBufferDesc pOutput, ULONG *pfContextAttr, PTimeStamp ptsExpiry)
  +{
 
  I Remembered a statement from fefe (diet-libc = www.fefe.de) about
  Writing Small and Fast Software:
 
  It is still clear, what each Argument does, when you remove the
  Variable-Names from the Declaration?
  - Yes: Efficient Design.
  - No:  Your Interface is to generic ==  bloated
 
  static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
   PCredHandle, PCtxtHandle, SEC_WCHAR *, ULONG, ULONG, ULONG,
   PSecBufferDesc, ULONG, PCtxtHandle, PSecBufferDesc, ULONG, PTimeStamp)
  {
 
  We all should thank the People who did such a Design :-)

 However, this only works in newer C compilers as far as I know... ;)

 Ciao, Marcus





crosstool-0.40 status 2

2006-02-14 Thread Dan Kegel
Since I'm developing on ubuntu, where the default compiler is gcc-4.0.x,
I'm running into a lot of little problems (glibc-2.3.2 unhappy about
gcc-4.0 during
initial header installation, binutils-2.15 incomplete array type errors).
Fortunately, having waited forever to do this update, googling for
the errors is turning up proposed fixes.

I've also included a few of the cygwin and mac doc fixes
and one or two other little fixes people have contributed.

I should have something for people to play with in a day or so.
- Dan

--
Wine for Windows ISVs: http://kegel.com/wine/isv




Re: crosstool-0.40 status 2

2006-02-14 Thread Dan Kegel
whoop, wrong list :-\
That's what happens when you try emailing while watching The L-Word :-)

On 2/14/06, Dan Kegel [EMAIL PROTECTED] wrote:
 Since I'm developing on ubuntu, where the default compiler is gcc-4.0.x,
 I'm running into a lot of little problems (glibc-2.3.2 unhappy about
 gcc-4.0 during
 initial header installation, binutils-2.15 incomplete array type errors).
 Fortunately, having waited forever to do this update, googling for
 the errors is turning up proposed fixes.

 I've also included a few of the cygwin and mac doc fixes
 and one or two other little fixes people have contributed.

 I should have something for people to play with in a day or so.
 - Dan

 --
 Wine for Windows ISVs: http://kegel.com/wine/isv



--
Wine for Windows ISVs: http://kegel.com/wine/isv




Re: Small and Fast (was: Re: Add InitializeSecurityContext for schannel)

2006-02-14 Thread Kai Blin
* Vijay Kiran Kamuju [EMAIL PROTECTED] [15/02/06, 09:06:42]:
 Hi all,
 
 I copied it from the negotiate.c
 In other places like ntlm.c, its like that only.
 Im not the one who actually designed secur32 ;) :P
 If i did anything worng please correct me.
 
I think this was more like a general rant against the SSPI API.
That is the way InitializeSecurityContext has to be called.

Cheers,
Kai

-- 
Kai Blin, (blin at gmx dot net)
Keep away from edge.