View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002774 | Scribus | OS-PPCOSX | public | 2005-10-30 08:43 | 2005-11-30 23:40 |
Reporter | jaxx | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | PowerBook 15inch 1.67Ghz | OS | OSX | OS Version | 10.4.2 |
Product Version | 1.3.2cvs | ||||
Fixed in Version | 1.3.2cvs | ||||
Summary | 0002774: Silently stops at launch during ICC profiles readings (International characters) | ||||
Description | I had a 19" old-school CRT screen connected and and profiled on my laptop. After putting libs in the good places, and Scribus somewhere in Application (Crashes bad otherwise), I launched it and after computing fonts for the fisrt time, the splash screen went away, so I launched from a terminal and all I see is that it stops on error 0012288 If I move the file out of the way, it continues. If I rename it to something very simple, it continues well too ! I suppose this is related either to: - Me, Because it's barely 9AM on a sunday morning - GetCMSProfiles reads the file name correctly, but lcms doesn't understand international caracters (darn accents) Last lines of Terminal Output: ... GetCMSProfiles: reading profile /Applications/Graphics/Scribus.app/Contents/lib/scribus/profiles//tr01_d50.icm GetCMSProfile: done GetCMSProfiles: reading profile /Users/jaxx/Library/ColorSync/Profiles//CPD-E400E ?talonn?.icc lcms: Error 0012288; File '/Users/jaxx/Library/ColorSync/Profiles/CPD-E400E ?talonn?.icc' not found JaXXBooK-2:/Applications/Graphics/Scribus.app/Contents jaxx$ | ||||
Steps To Reproduce | Having a Calibrated Monitor Named with accents, Calibrated in French is "Étalonné"... Example: "CPD-E400E Étalonné" Output can be seen when 'bin/scribus' is launched from the terminal | ||||
Additional Information | Accents in the Terminal (even 3rd party terminal emulators) are always a hassle... And as a command line user, I'm very frustrated of not being able to type accents sometimes | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
The bug is an implicit conversion from unicode to byte string (see 0002215) in ScribusApp::GetCMSProfilesDir(...) at line scribus.cpp:8598 : hIn = cmsOpenProfileFromFile(pfad + d[dc], "r"); should be: QCString profilePath( QString(pfad + d[dc]).local8Bit() ); hIn = cmsOpenProfileFromFile( profilePath.data(), "r"); FYI: Error 12288 is 0x3000 . Weird of lcms not to use "%x". As for typing accents in a terminal, they shouldn't need to be a problem. If they are, you probably need to have a "chat" to Apple. I can use compose keys and dead keys here (Linux, gnome-terminal) to type accented text without problems. That said, I'm unfamiliar with Apple's post-MacOS-9 input method for accented text. In os9 one would use (eg) option-e,e ... which would be fine in a terminal. |
|
This should be fixed now (fingers crossed). Please re-test when Andreas gets a chance to generate a new PPC build, and add a note to this bug to confirm whether or not it's fixed. |
|
Reminder sent to: avox Andreas, adding you to the monitor list on this one. If I've correctly identified the problem it should be fixed in CVS now. Look right to you? |
|
Fixed a few other cases across the app; all uses of cmsOpenProfileFromFile(...) should now be doing it without mangling text. It's actually very tempting to try to write a Qt/C++ wrapper around lcms to protect us against this sort of crud. |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-10-30 08:43 | jaxx | New Issue | |
2005-10-30 10:00 |
|
Note Added: 0007256 | |
2005-10-30 10:00 |
|
Status | new => acknowledged |
2005-10-30 10:00 |
|
Category | General => PPCOSX |
2005-10-30 10:06 |
|
Status | acknowledged => assigned |
2005-10-30 10:06 |
|
Assigned To | => ringerc |
2005-10-30 10:07 |
|
Status | assigned => resolved |
2005-10-30 10:07 |
|
Fixed in Version | => 1.3.2cvs |
2005-10-30 10:07 |
|
Resolution | open => fixed |
2005-10-30 10:07 |
|
Note Added: 0007257 | |
2005-10-30 10:08 |
|
Relationship added | related to 0002215 |
2005-10-30 10:09 |
|
Note Added: 0007258 | |
2005-10-30 10:41 |
|
Note Added: 0007259 | |
2005-11-30 23:40 | cbradney | Status | resolved => closed |
2014-10-08 18:38 | Kunda | Category | PPCOSX => OS-PPCOSX |