http://bugs.winehq.org/show_bug.cgi?id=12377
Summary: Capella does not load font Product: Wine Version: 0.9.58. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: anhaupt@gmx.ch
When Capella tries to load any font available for displaying notes (e.g. capella3) it displays the following message: "Damit dieser Stil richtig angezeigt wird, müssen sie die Schriftart 'capella3' installieren." (tranlsation: "To display this style correctly the font 'capella3' has to be installed.").
The same message appears if you try to load any of the other fonts available for capella.
Other programs (e.g. notepad) find the capella fonts and display them correctly.
The problem exists in the current version (Capella 2008) as well as in earlier versions.
A demo version that shows the error is available here: http://www.capella.de/download_capella.htm
http://bugs.winehq.org/show_bug.cgi?id=12377
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.capella.de/downlo | |ad_capella.htm Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=12377
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.capella.de/downlo%7C |ad_capella.htm | Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords|download |
--- Comment #1 from Austin English austinenglish@gmail.com 2008-04-07 22:24:45 --- Confirming in git.
http://bugs.winehq.org/show_bug.cgi?id=12377
Philipp Sadleder philipp@sadleder.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |philipp@sadleder.de
http://bugs.winehq.org/show_bug.cgi?id=12377
Stefan Ziel stefan.ziel@terra.com.br changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan.ziel@terra.com.br
--- Comment #2 from Stefan Ziel stefan.ziel@terra.com.br 2008-07-14 06:58:14 --- this problem is caused by the not implemented function:
CreateScalableFontResourceA
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #3 from Philipp Sadleder philipp@sadleder.de 2008-07-15 15:15:44 --- In http://bugs.winehq.org/show_bug.cgi?id=3498#c12 there is a discussion about patches that implement CreateScalableFontResourceA. We should try those patches and track if they get commited.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #4 from Stefan Ziel stefan.ziel@terra.com.br 2008-07-22 09:31:10 --- this might be the cause - ocurrs for capella2002 and capella2008
trace:font:WineEngCreateFontInstance L"capella3", h=12, it=0, weight=0, PandF=02, charset=2 orient 0 escapement 0 trace:font:WineEngCreateFontInstance DC transform 1.000000 0.000000 0.000000 1.000000 trace:font:WineEngCreateFontInstance not in cache trace:font:WineEngCreateFontInstance (it=0, bd=0) is selected for (it=0, bd=0) trace:font:WineEngCreateFontInstance Chosen: L"Arial" L"Regular" (/usr/share/fonts/truetype/msttcorefonts/Arial.ttf/(nil):0) trace:font:WineEngCreateFontInstance font scale y: 1.000000
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #5 from Stefan Ziel stefan.ziel@terra.com.br 2008-07-22 10:50:01 --- forgot to say:the patch does not solve the problem
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #6 from Stefan Ziel stefan.ziel@terra.com.br 2008-07-22 11:47:10 --- more especific following if fails to get true for the capella specific fonts. seems this fonta are inconsistent
if((csi.fs.fsCsb[0] & (face->fs.fsCsb[0] | face->fs_links.fsCsb[0])) || !csi.fs.fsCsb[0]){ ... }
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #7 from Stefan Ziel stefan.ziel@terra.com.br 2008-07-23 07:17:35 --- I made the fix - patch will come up soon
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #8 from Philipp Sadleder philipp@sadleder.de 2008-07-23 07:27:25 --- Wow, great, I curious to see what you did to get it to work.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #9 from Stefan Ziel stefan.ziel@terra.com.br 2008-07-23 08:39:18 --- Created an attachment (id=15006) --> (http://bugs.winehq.org/attachment.cgi?id=15006) no code page check for symbol fonts
there is not code page bit defined for symbol. in fact mostly bit 31 (reserved for oem) is used. capella requests it's fonts being symbol but they use a standard code-page. because of that wine's font creation discards them. but windows' font creation does not. this patch deactivates codepage testing for fonts with symbol charset.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #10 from Martin Buerge martin.buerge@gmail.com 2008-07-23 09:30:24 --- Wow, nice. I will test it today, and i'll post if it works with my capella 2008.
Many Thanks
http://bugs.winehq.org/show_bug.cgi?id=12377
Martin Buerge martin.buerge@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.buerge@gmail.com
--- Comment #11 from Martin Buerge martin.buerge@gmail.com 2008-07-23 12:46:21 --- Again, many thanks. Your patch works just fine.
Does your patch get integrated in Wine?
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #12 from Stefan Ziel stefan.ziel@terra.com.br 2008-07-23 13:11:36 --- I'm not a wine-developer so this will depend on the votes for this patch
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #13 from Philipp Sadleder philipp@sadleder.de 2008-07-23 13:17:06 --- It works for me as well, thank you!
http://bugs.winehq.org/show_bug.cgi?id=12377
wobsta lists@wobsta.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lists@wobsta.de
--- Comment #14 from wobsta lists@wobsta.de 2008-07-30 05:01:34 --- works here too. add a vote :-)
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #15 from Lei Zhang thestig@google.com 2008-07-30 12:48:52 --- Stefan, please send your patch to wine-patches@winehq.org, they will not get picked up from here. The chances of the patch making it in will be higher if you also write a conformance test.
http://bugs.winehq.org/show_bug.cgi?id=12377
stomarti@geekmail.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stomarti@geekmail.de
http://bugs.winehq.org/show_bug.cgi?id=12377
Sebastian Paetzold sebastian@paetzold-family.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@paetzold-family.de
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #16 from Sebastian Paetzold sebastian@paetzold-family.de 2008-10-01 16:42:45 --- Created an attachment (id=16406) --> (http://bugs.winehq.org/attachment.cgi?id=16406) console messages
Doesn't work for me. A new problem occured.
The function CreateScalableFontResourceW (not CreateScalableFontResourceA like described above!!) doesn't work correctly ...
I have installed the English version of capella 2002 on openSUSE 11.0 with Wine version 1.1.5.
To log the console messages I have used the command:
WINEDEBUG=+wininte wine "c:\program files\capella2002\capella.exe" &> ~/wininet.txt
During the execution of capella 2002 several error messages appear like this:
Error Code %d "%s.fot" creation failed. or like this:
Error Code %d "%s.ttf" installation failed.
A little bit of work will to be done ...
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #17 from Stefan Ziel stefan.ziel@terra.com.br 2008-10-02 06:12:40 --- (In reply to comment #16)
Hi Sebastian
you are sure to have installed the capella fonts so they are visible for other applications ( notepad for example )?
if so please run a trace on "font" events
WINEDEBUG=trace+font wine /yourPathToCapella/capella.exe
and attach it.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #18 from Sebastian Paetzold sebastian@paetzold-family.de 2008-10-02 11:01:44 --- Created an attachment (id=16419) --> (http://bugs.winehq.org/attachment.cgi?id=16419) font log
Yes, the capella fonts are permanently installed so they are usable for other applications. (During the installation of the English version there is no possibility to select installing the fonts permanently or not.)
The font log is very large (more then 9,5 MB), so I have compressed it.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #19 from Stefan Ziel stefan.ziel@terra.com.br 2008-10-02 12:27:49 --- (In reply to comment #18)
Hi Sebastian,
analyzing the trace - your wine behaves exactly as it behaved without the patch:
could you debug if it runs into "goto found" (/dlls/gdi32/freetype.c - line 3386) for the capella fonts?
or add a trace like this just to see what happens:
LIST_FOR_EACH(face_elem_ptr, &family->faces) { face = LIST_ENTRY(face_elem_ptr, Face, entry); if((csi.fs.fsCsb[0] & (face->fs.fsCsb[0] | face->fs_links.fsCsb[0])) || !csi.fs.fsCsb[0]) if(face->scalable || can_use_bitmap) { TRACE("Yes we did it\n"); goto found; } } TRACE("Sorry we passed\n");
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #20 from Sebastian Paetzold sebastian@paetzold-family.de 2008-10-02 21:31:24 --- Hi Stefan ...
Since your last comment I have made some mistaces that resulted in irritation: I have changed from English to German version of Capella 2002 vice versa!
During the installation of German version there is possibility to select installing the fonts permanently or not. But the fonts are not be installed in both cases!! You have to copy the fonts from the Capella-program-directory to the windows-fonts-directory manually!!
And that's the result: Both versions of Capella 2002 are working perfectly!!
Your last changes are not necessary!! Your patch works just fine!! I'm sorry for the muddle ...
Many thanks for your trouble!!
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #21 from Austin English austinenglish@gmail.com 2009-04-17 12:11:31 --- Is this still an issue in current (1.1.19 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #22 from Sebastian Paetzold sebastian@paetzold-family.de 2009-04-17 17:27:35 ---
Yes, it is! Sorry!
We need more votes for the patch by Stefan Ziel (see Comment #9) !!!
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #23 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-19 18:20:45 --- (In reply to comment #22)
We need more votes for the patch by Stefan Ziel (see Comment #9) !!!
Voting only increases the "popularity" of the bug - nothing else.
Besides the patch is wrong, TranslateCharsetInfo() happily translates SYMBOL_CHARSET to CP_SYMBOL code page.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #24 from Stefan Ziel stefan.ziel@terra.com.br 2009-04-20 08:12:46 --- (In reply to comment #23)
Besides the patch is wrong, TranslateCharsetInfo() happily translates SYMBOL_CHARSET to CP_SYMBOL code page.
the patch is not wrong! the affirmations that wine makes are wrong! the MS documentation does NOT specify any bit for Symbol fonts
(see http://msdn.microsoft.com/en-us/library/dd317754(VS.85).aspx)
and ALL versions o windows happily install the capella fonts as symbol ignoring that they have bit 1 set
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #25 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-20 10:17:59 --- (In reply to comment #24)
(In reply to comment #23)
Besides the patch is wrong, TranslateCharsetInfo() happily translates SYMBOL_CHARSET to CP_SYMBOL code page.
the patch is not wrong! the affirmations that wine makes are wrong! the MS documentation does NOT specify any bit for Symbol fonts (see http://msdn.microsoft.com/en-us/library/dd317754(VS.85).aspx)
It doesn't matter what MS documentation mentions or specifies. A test at dlls/gdi32/tests/font.c explicitly tests TranslateCharsetInfo(SYMBOL_CHARSET) case, and a quick test I did confirms that it works just fine.
and ALL versions o windows happily install the capella fonts as symbol ignoring that they have bit 1 set
Then the reason is somewhere else.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #26 from Stefan Ziel stefan.ziel@terra.com.br 2009-04-20 10:41:32 --- Created an attachment (id=20574) --> (http://bugs.winehq.org/attachment.cgi?id=20574) capella font with strage CHARSETINFO
(In reply to comment #25)
It doesn't matter what MS documentation mentions or specifies.
I thought wine is to provide compatibility to MS Windows - apparently I'm wrong
and ALL versions o windows happily install the capella fonts as symbol ignoring that they have bit 1 set
Then the reason is somewhere else.
The reason is exactly there - I append the font. You can do your own tests to prove I'm wrong ;) No time an knowhow to create test cases - no a C developer.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #27 from Stefan Ziel stefan.ziel@terra.com.br 2009-04-20 10:58:40 --- one more information - the exact reason is:
wine expects a symbol font to have bit 31 set (which is true in nearly all symbol fonts) and windows does not.
My patch tells wine not to matter about those bits in CHARSETINFO if the requested font type is Symbol.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #28 from Austin English austinenglish@gmail.com 2009-04-20 12:04:36 --- (In reply to comment #26)
Created an attachment (id=20574)
--> (http://bugs.winehq.org/attachment.cgi?id=20574) [details]
capella font with strage CHARSETINFO
(In reply to comment #25)
It doesn't matter what MS documentation mentions or specifies.
I thought wine is to provide compatibility to MS Windows - apparently I'm wrong
What Dmitry is saying is that the documentation is often wrong. All that matter is what Windows does, e.g., what we can reproduce via testcases.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #29 from Stefan Ziel stefan.ziel@terra.com.br 2009-04-20 12:57:43 --- (In reply to comment #28)
What Dmitry is saying is that the documentation is often wrong. All that matter is what Windows does, e.g., what we can reproduce via test cases.
that is the point - not programming C for more than 15 years, my know how does not permit me to set up a test that proves that the capella's font loads under windows as a symbol font and does not load under wine.
any one could help here?
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #30 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-22 02:13:14 --- (In reply to comment #26)
It doesn't matter what MS documentation mentions or specifies.
I thought wine is to provide compatibility to MS Windows - apparently I'm wrong
Wine is to provide the API compitibility to application programs, not to blindly follow the mistakes/typos/desinformation of MS documentation.
Then the reason is somewhere else.
The reason is exactly there - I append the font. You can do your own tests to prove I'm wrong ;)
That's a contrary task - you have to add the tests that your assumptions are correct.
No time an knowhow to create test cases - no a C developer.
That would saved some time if you have said that in the first place.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #31 from Sebastian Paetzold sebastian@paetzold-family.de 2009-04-22 08:34:17 --- What for a stupid and non-productive discussion!!
There is a possibility to use Capella with its own capella fonts under Wine. I think it isn't interesting how the problem of "Capella does not load font" is solved. The only one to know: It works!!
The next step should be: How this solution can be integrated in Wine source code for the future versions?
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #32 from Dmitry Timoshkov dmitry@codeweavers.com 2009-04-22 09:04:23 --- (In reply to comment #31)
The next step should be: How this solution can be integrated in Wine source code for the future versions?
There is no a solution, there is a hack, based on an omission in an MSDN.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #33 from Austin English austinenglish@gmail.com 2009-10-29 15:25:25 --- Is this still an issue in current (1.1.32 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #34 from Stefan Ziel stefan.ziel@terra.com.br 2009-10-30 04:54:21 --- (In reply to comment #33)
Is this still an issue in current (1.1.32 or newer) wine?
yes. unfortunately it is.
But in the AppDB is a description of how to edit the capella fonts and make it work without a patch of wine.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #35 from Austin English austinenglish@gmail.com 2010-04-30 16:47:30 --- Probably still present.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #36 from Austin English austinenglish@gmail.com 2012-03-19 13:45:03 CDT --- There's been a lot of font/font linking work recently, please retest in 1.4 (and possibly 1.5.0, a couple fixes missed 1.4).
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #37 from wobsta lists@wobsta.de 2012-04-12 04:50:49 CDT --- As I could reproduce the issue before (see comment 14), I tried again using a self compiled wine 1.5.1. Capella now installs fine. Once it is installed, it can be launched, but 5 dialog boxes occur one after the other. They read (in German on my system):
1) Fehler-Code %d "%s.ttf" konnte nicht kopiert werden.
2) Fehler-Code %d "%s.fot" konnte nicht erzeugt werden.
3) Fehler-Code %d "%s.ttf" konnte nicht installiert werden.
4) "capella.fot" konnte nicht gelöscht werden.
5) "capella.ttf" konnte nicht gelöscht werden.
After those message boxes the capella window opens, but it does not show the proper musical symbols.
I was trying to copy the capella3.ttf (also renaming it to capella.ttf) to other locations (see comment 20), but I did not succeed. It is already copied to the windows system directory as is was necessary before to do so manually, IIRC.
I created a new font+trace log as suggested in comment 17 and will attach it here.
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #38 from wobsta lists@wobsta.de 2012-04-12 04:51:31 CDT --- Created attachment 39761 --> http://bugs.winehq.org/attachment.cgi?id=39761 font trace for wine 1.5.1
http://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #39 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.18 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=12377
--- Comment #40 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=12377
Joachim P. joachim.priesner.bugs@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joachim.priesner.bugs@web.d | |e
--- Comment #41 from Joachim P. joachim.priesner.bugs@web.de --- The issue persists in Wine 1.7.53. Attached to bug 33117 (which looks like it is a duplicate of this one) is a patch which fixes the issue.
https://bugs.winehq.org/show_bug.cgi?id=12377
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/blob/ma | |ster/patches/gdi32-Symbol_T | |ruetype_Font/0001-gdi32-Imp | |rove-detection-of-symbol-ch | |arset-for-old-tr.patch
https://bugs.winehq.org/show_bug.cgi?id=12377
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=12377
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |erich.e.hoover@wine-staging | |.com, michael@fds-team.de Staged patchset|https://github.com/wine-com |https://github.com/wine-com |pholio/wine-staging/blob/ma |pholio/wine-staging/tree/ma |ster/patches/gdi32-Symbol_T |ster/patches/gdi32-Symbol_T |ruetype_Font/0001-gdi32-Imp |ruetype_Font |rove-detection-of-symbol-ch | |arset-for-old-tr.patch |
https://bugs.winehq.org/show_bug.cgi?id=12377
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=12377
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Component|-unknown |gdi32 Status|STAGED |RESOLVED
--- Comment #42 from Nikolay Sivov bunglehead@gmail.com --- Duplicate.
*** This bug has been marked as a duplicate of bug 33117 ***
https://bugs.winehq.org/show_bug.cgi?id=12377
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #43 from Austin English austinenglish@gmail.com --- Closing.