[webkit-dev] building errors on Win32

wangtao wangtao.adi at gmail.com
Thu Oct 9 20:42:09 PDT 2008


Hi walters,

Have u ever settle the build error u posted as in Message: 1.

I've gotten building errors on Win32 as follows, Thanks for all clues of
fixing the error!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$ WebKit/WebKitTools/Scripts/build-webkit
Subroutine main::tmpnam redefined at
/cygdrive/c/Users/twang/WebKit/WebKitTools/
Scripts/webkitdirs.pm line 33
Subroutine main::tmpfile redefined at
/cygdrive/c/Users/twang/WebKit/WebKitTools
/Scripts/webkitdirs.pm line 33
Checking mod-date of WebKitSupportLibrary.zip...
Current WebKitSupportLibrary is up to date
Building results into: /cygdrive/c/Users/twang/WebKit/WebKitBuild
WEBKITOUTPUTDIR is set to: c:\Users\twang\WebKit\WebKitBuild
WEBKITLIBRARIESDIR is set to: c:\Users\twang\WebKit\WebKitLibraries\win
/cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.comwin\W
ebKit.vcproj\WebKit.sln /build Release
Microsoft (R) Visual Studio Version 8.0.50727.867.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
1>------ Build started: Project: JavaScriptCoreGenerated, Configuration:
Release
 Win32 ------
1>Performing Makefile project actions
1> xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools"
"c:\Users\twang\WebKit\We
bKitLibraries\win\tools"
1>Cannot perform a cyclic copy
1>0 File(s) copied
1> touch "c:\Users\twang\WebKit\WebKitBuild\buildfailed"
1> bash build-generated-files.sh "c:\Users\twang\WebKit\WebKitBuild"
"c:\Users\t
wang\WebKit\WebKitLibraries\win"
1>/cygdrive/c/Users/twang/WebKit/JAVASC~1/pcre/dftables chartables.c
1>/cygdrive/c/Users/twang/WebKit/JAVASC~1/kjs/create_hash_table
/cygdrive/c/User
s/twang/WebKit/JAVASC~1/kjs/RegExpConstructor.cpp -i >
RegExpConstructor.lut.h
1>Creating hashtable for
/cygdrive/c/Users/twang/WebKit/JAVASC~1/kjs/RegExpConst
ructor.cpp
1>Error in tempfile() using /tmp/dftables-XXXXXXXX.in: Parent directory
(/tmp/)
is not writable
1> at /cygdrive/c/Users/twang/WebKit/JAVASC~1/pcre/dftables line 245
1>make: *** [chartables.c] Error 255
1>make: *** Waiting for unfinished jobs....
1>NMAKE : fatal error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0x1'
1>Stop.
1>Project : error PRJ0019: A tool returned an error code from "Performing
Makefi
le project actions"
1>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\JavaScrip<file:///c:/Users/twang/WebKit/WebKitBuild/obj/JavaScrip>
tCoreGenerated\Release\BuildLog.htm"
1>JavaScriptCoreGenerated - 2 error(s), 0 warning(s)
2>------ Build started: Project: JavaScriptCore, Configuration: Release
Win32 --
----
2>Performing Pre-Build Event...
2>XXJavaScriptCoreXX
2>Compiling...
2>ProfileGenerator.cpp
2>c:\Users\twang\WebKit\JavaScriptCore\API\JSStringRef.h(29) : fatal error
C1083
: Cannot open include file: 'JavaScriptCore/JSValueRef.h': No such file or
direc
tory
2>JSValueRef.cpp
2>c:\users\twang\webkit\javascriptcore\api\JSValueRef.h(29) : fatal error
C1083:
 Cannot open include file: 'JavaScriptCore/JSBase.h': No such file or
directory
2>JSStringRefCF.cpp
2>c:\users\twang\webkit\javascriptcore\api\JSStringRef.h(29) : fatal error
C1083
: Cannot open include file: 'JavaScriptCore/JSValueRef.h': No such file or
direc
tory
2>JSStringRefBSTR.cpp
2>c:\users\twang\webkit\javascriptcore\api\JSStringRef.h(29) : fatal error
C1083
: Cannot open include file: 'JavaScriptCore/JSValueRef.h': No such file or
direc
tory
2>JSStringRef.cpp
2>c:\users\twang\webkit\javascriptcore\api\JSStringRef.h(29) : fatal error
C1083
: Cannot open include file: 'JavaScriptCore/JSValueRef.h': No such file or
direc
tory
2>JSObjectRef.cpp
2>c:\users\twang\webkit\javascriptcore\api\JSObjectRef.h(30) : fatal error
C1083
: Cannot open include file: 'JavaScriptCore/JSBase.h': No such file or
directory
2>JSContextRef.cpp
2>c:\users\twang\webkit\javascriptcore\api\JSContextRef.h(29) : fatal error
C108
3: Cannot open include file: 'JavaScriptCore/JSObjectRef.h': No such file or
dir
ectory
2>JSClassRef.cpp
2>c:\users\twang\webkit\javascriptcore\api\JSObjectRef.h(30) : fatal error
C1083
: Cannot open include file: 'JavaScriptCore/JSBase.h': No such file or
directory
2>JSCallbackObject.cpp
2>c:\users\twang\webkit\javascriptcore\api\JSObjectRef.h(30) : fatal error
C1083
: Cannot open include file: 'JavaScriptCore/JSBase.h': No such file or
directory
2>JSCallbackFunction.cpp
2>c:\users\twang\webkit\javascriptcore\api\JSObjectRef.h(30) : fatal error
C1083
: Cannot open include file: 'JavaScriptCore/JSBase.h': No such file or
directory
2>JSCallbackConstructor.cpp
2>c:\users\twang\webkit\javascriptcore\api\JSObjectRef.h(30) : fatal error
C1083
: Cannot open include file: 'JavaScriptCore/JSBase.h': No such file or
directory
2>JSBase.cpp
2>c:\users\twang\webkit\javascriptcore\api\JSBasePrivate.h(29) : fatal error
C10
83: Cannot open include file: 'JavaScriptCore/JSBase.h': No such file or
directo
ry
2>pcre_tables.cpp
2>..\..\pcre\pcre_tables.cpp(72) : fatal error C1083: Cannot open include
file:
'chartables.c': No such file or directory
2>StringPrototype.cpp
2>..\..\kjs\StringPrototype.cpp(73) : fatal error C1083: Cannot open include
fil
e: 'StringPrototype.lut.h': No such file or directory
2>RegExpObject.cpp
2>..\..\kjs\RegExpObject.cpp(41) : fatal error C1083: Cannot open include
file:
'RegExpObject.lut.h': No such file or directory
2>RegExpConstructor.cpp
2>JSGlobalObject.cpp
2>c:\users\twang\webkit\javascriptcore\api\JSObjectRef.h(30) : fatal error
C1083
: Cannot open include file: 'JavaScriptCore/JSBase.h': No such file or
directory
2>JSGlobalData.cpp
2>c:\users\twang\webkit\javascriptcore\api\JSObjectRef.h(30) : fatal error
C1083
: Cannot open include file: 'JavaScriptCore/JSBase.h': No such file or
directory
2>Project : warning PRJ0018 : The following environment variables were not
found
:
2>$(PRODUCTION)
2>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\JavaScrip<file:///c:/Users/twang/WebKit/WebKitBuild/obj/JavaScrip>
tCore\Release\BuildLog.htm"
2>JavaScriptCore - 17 error(s), 0 warning(s)
3>------ Build started: Project: WebCoreGenerated, Configuration: Release
Win32
------
3>Performing Makefile project actions
3>Project : error PRJ0002 : Error result 1 returned from
'c:\Windows\system32\cm
d.exe'.
3>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\WebCoreGe<file:///c:/Users/twang/WebKit/WebKitBuild/obj/WebCoreGe>
nerated\Release\BuildLog.htm"
3>WebCoreGenerated - 1 error(s), 0 warning(s)
4>------ Build started: Project: QTMovieWin, Configuration: Release Win32
------
4>Performing Pre-Build Event...
4>Project : error PRJ0002 : Error result 1 returned from
'c:\Windows\system32\cm
d.exe'.
4>Project : warning PRJ0018 : The following environment variables were not
found
:
4>$(PRODUCTION)
4>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\QTMovieWi<file:///c:/Users/twang/WebKit/WebKitBuild/obj/QTMovieWi>
n\Release\BuildLog.htm"
4>QTMovieWin - 1 error(s), 0 warning(s)
5>------ Build started: Project: WebCore, Configuration: Release Win32
------
5>Performing Pre-Build Event...
5>Project : error PRJ0002 : Error result 1 returned from
'c:\Windows\system32\cm
d.exe'.
5>Project : warning PRJ0018 : The following environment variables were not
found
:
5>$(PRODUCTION)
5>$(AnalyzeWithLargeStack)
5>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\WebCore\R<file:///c:/Users/twang/WebKit/WebKitBuild/obj/WebCore/R>
elease\BuildLog.htm"
5>WebCore - 1 error(s), 0 warning(s)
6>------ Build started: Project: InterfacesGenerated, Configuration: Release
Win
32 ------
6>Performing Makefile project actions
6>Project : error PRJ0002 : Error result 1 returned from
'c:\Windows\system32\cm
d.exe'.
6>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\Interface<file:///c:/Users/twang/WebKit/WebKitBuild/obj/Interface>
sGenerated\Release\BuildLog.htm"
6>InterfacesGenerated - 1 error(s), 0 warning(s)
7>------ Build started: Project: Interfaces, Configuration: Release Win32
------
7>Performing Pre-Build Event...
7>Project : error PRJ0002 : Error result 1 returned from
'c:\Windows\system32\cm
d.exe'.
7>Project : warning PRJ0018 : The following environment variables were not
found
:
7>$(PRODUCTION)
7>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\Interface<file:///c:/Users/twang/WebKit/WebKitBuild/obj/Interface>
s\Release\BuildLog.htm"
7>Interfaces - 1 error(s), 0 warning(s)
8>------ Build started: Project: WebKitGUID, Configuration: Release Win32
------
8>Performing Pre-Build Event...
8>Project : error PRJ0002 : Error result 1 returned from
'c:\Windows\system32\cm
d.exe'.
8>Project : warning PRJ0018 : The following environment variables were not
found
:
8>$(PRODUCTION)
8>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\WebKitGUI<file:///c:/Users/twang/WebKit/WebKitBuild/obj/WebKitGUI>
D\Release\BuildLog.htm"
8>WebKitGUID - 1 error(s), 0 warning(s)
9>------ Build started: Project: WebKit, Configuration: Release Win32 ------
9>Performing Pre-Build Event...
9>Project : error PRJ0002 : Error result 1 returned from
'c:\Windows\system32\cm
d.exe'.
9>Project : warning PRJ0018 : The following environment variables were not
found
:
9>$(PRODUCTION)
9>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\WebKit\Re<file:///c:/Users/twang/WebKit/WebKitBuild/obj/WebKit/Re>
lease\BuildLog.htm"
9>WebKit - 1 error(s), 0 warning(s)
10>------ Build started: Project: testapi, Configuration: Release Win32
------
10>Performing Pre-Build Event...
10>Project : error PRJ0002 : Error result 1 returned from
'c:\Windows\system32\c
md.exe'.
10>Project : warning PRJ0018 : The following environment variables were not
foun
d:
10>$(PRODUCTION)
10>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\testapi\<file:///c:/Users/twang/WebKit/WebKitBuild/obj/testapi/>
Release\BuildLog.htm"
10>testapi - 1 error(s), 0 warning(s)
11>------ Build started: Project: jsc, Configuration: Release Win32 ------
11>Performing Pre-Build Event...
11>Project : error PRJ0002 : Error result 1 returned from
'c:\Windows\system32\c
md.exe'.
11>Project : warning PRJ0018 : The following environment variables were not
foun
d:
11>$(PRODUCTION)
11>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\jsc\Rele<file:///c:/Users/twang/WebKit/WebKitBuild/obj/jsc/Rele>
ase\BuildLog.htm"
11>jsc - 1 error(s), 0 warning(s)
12>------ Build started: Project: WinLauncher, Configuration: Release Win32
----
--
12>Compiling...
12>WinLauncher.cpp
12>c:\users\twang\webkit\webkittools\winlauncher\WinLauncher.h(29) : fatal
error
 C1083: Cannot open include file: 'WebKit.h': No such file or directory
12>Project : warning PRJ0018 : The following environment variables were not
foun
d:
12>$(PRODUCTION)
12>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\WinLaunc<file:///c:/Users/twang/WebKit/WebKitBuild/obj/WinLaunc>
her\Release\BuildLog.htm"
12>WinLauncher - 1 error(s), 0 warning(s)
13>------ Build started: Project: TestNetscapePlugin, Configuration: Release
Win
32 ------
13>Performing Pre-Build Event...
13>Project : error PRJ0002 : Error result 1 returned from
'c:\Windows\system32\c
md.exe'.
13>Project : warning PRJ0018 : The following environment variables were not
foun
d:
13>$(PRODUCTION)
13>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\TestNets<file:///c:/Users/twang/WebKit/WebKitBuild/obj/TestNets>
capePlugin\Release\BuildLog.htm"
13>TestNetscapePlugin - 1 error(s), 0 warning(s)
14>------ Build started: Project: ImageDiff, Configuration: Release Win32
------
14>Performing Pre-Build Event...
14>Project : error PRJ0002 : Error result 1 returned from
'c:\Windows\system32\c
md.exe'.
14>Project : warning PRJ0018 : The following environment variables were not
foun
d:
14>$(PRODUCTION)
14>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\ImageDif<file:///c:/Users/twang/WebKit/WebKitBuild/obj/ImageDif>
f\Release\BuildLog.htm"
14>ImageDiff - 1 error(s), 0 warning(s)
15>------ Build started: Project: DumpRenderTree, Configuration: Release
Win32 -
-----
15>Performing Pre-Build Event...
15>Project : error PRJ0002 : Error result 1 returned from
'c:\Windows\system32\c
md.exe'.
15>Project : warning PRJ0018 : The following environment variables were not
foun
d:
15>$(PRODUCTION)
15>Build log was saved at "
file://c:\Users\twang\WebKit\WebKitBuild\obj\DumpRend<file:///c:/Users/twang/WebKit/WebKitBuild/obj/DumpRend>
erTree\Release\BuildLog.htm"
15>DumpRenderTree - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 15 failed, 3 up-to-date, 0 skipped ==========

===== BUILD FAILED ======
Please ensure you have run WebKit/WebKitTools/Scripts/update-webkit to
install d
epenedencies.
You can view build errors by checking the BuildLog.htm files located at:
/cygdrive/c/Users/twang/WebKit/WebKitBuild/obj/<project>/<config>.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Regards,
Tony
On Sun, Sep 28, 2008 at 10:00 PM, <webkit-dev-request at lists.webkit.org>wrote:

> Send webkit-dev mailing list submissions to
>        webkit-dev at lists.webkit.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> or, via email, send a message with subject or body 'help' to
>        webkit-dev-request at lists.webkit.org
>
> You can reach the person managing the list at
>        webkit-dev-owner at lists.webkit.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of webkit-dev digest..."
>
>
> Today's Topics:
>
>   1. Build errors (Walter)
>   2. Safari and complex script rendering (Sherif)
>   3. Re: Safari and complex script rendering (Alexey Proskuryakov)
>   4. Safari and complex script rendering (Paul Pedriana)
>   5. Re: Safari and complex script rendering (Maciej Stachowiak)
>   6. Re: Safari and complex script rendering (Alexey Proskuryakov)
>   7. Re: Safari and complex script rendering (Sherif)
>   8. Re: Safari and complex script rendering (Sherif)
>   9. Re: Safari and complex script rendering (Mohammed Sameer)
>  10. Re: Safari and complex script rendering (Sherif)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 27 Sep 2008 11:03:08 -0700
> From: "Walter" <walters at cyberbeam.net>
> Subject: [webkit-dev] Build errors
> To: <webkit-dev at lists.webkit.org>
> Message-ID: <64D81F86D7C14CFBAFFA1A56597B6545 at cyberbeamdt>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Build errors persist in Cygwin as well as VS VC++ environments.
>
> Likely that I have missed some configuration step and I am blind to it.
>
> Some of the errors look wierd i.e. "sh: cpp: command not found" found
> below.
>
> Can someone comment on the following errors that I copied from the VS VC++
> Build output:
>
> Creating hashtable for
> /home/waltersaegir/WebKit/JavaScriptCore/kjs/ArrayPrototype.cpp
> /home/waltersaegir/WebKit/JavaScriptCore/pcre/dftables chartables.c
> sh: cpp: command not found
> Use of uninitialized value $pcre_internal{"tables_length"} in printf at
> /home/waltersaegir/WebKit/JavaScriptCore/pcre/dftables line 83.
> Use of uninitialized value $pcre_internal{"lcc_offset"} in numeric ne (!=)
> at /home/waltersaegir/WebKit/JavaScriptCore/pcre/dftables line 90.
> Use of uninitialized value $pcre_internal{"fcc_offset"} in numeric ne (!=)
> at /home/waltersaegir/WebKit/JavaScriptCore/pcre/dftables line 108.
> fcc_offset != 128 at /home/waltersaegir/WebKit/JavaScriptCore/pcre/dftables
> line 109.
> make: *** [chartables.c] Error 127
> NMAKE : fatal error U1077: 'bash' : return code '0x1'
> Stop.
>
>
> DatePrototype.cpp(108) : fatal error C1083: Cannot open include file:
> 'DatePrototype.lut.h
>
> d:\cygwin\home\waltersaegir\webkit\javascriptcore\api\JSObjectRef.h(29) :
> fatal error C1083: Cannot open include file: 'JavaScriptCore/JSBase.h': No
> such file or directory
>
> ..\..\kjs\MathObject.cpp(55) : fatal error C1083: Cannot open include file:
> 'MathObject.lut.h': No such file or directory
>
> ..\..\kjs\NumberConstructor.cpp(24) : fatal error C1083: Cannot open
> include file: 'NumberConstructor.lut.h': No such file or directory
>
> ..\..\kjs\RegExpConstructor.cpp(23) : fatal error C1083: Cannot open
> include file: 'RegExpConstructor.lut.h': No such file or directory
>
> ..\..\kjs\RegExpObject.cpp(23) : fatal error C1083: Cannot open include
> file: 'RegExpObject.lut.h': No such file or directory
>
> ..\..\kjs\StringPrototype.cpp(74) : fatal error C1083: Cannot open include
> file: 'StringPrototype.lut.h': No such file or directory
>
> d:\cygwin\home\waltersaegir\webkit\javascriptcore\api\JSObjectRef.h(29) :
> fatal error C1083: Cannot open include file: 'JavaScriptCore/JSBase.h': No
> such file or directory
> JSCallbackFunction.cpp
>
> d:\cygwin\home\waltersaegir\webkit\javascriptcore\api\JSObjectRef.h(29) :
> fatal error C1083: Cannot open include file: 'JavaScriptCore/JSBase.h': No
> such file or directory
>
> Compiling...
> JSCallbackObject.cpp
> d:\cygwin\home\waltersaegir\webkit\javascriptcore\api\JSObjectRef.h(29) :
> fatal error C1083: Cannot open include file: 'JavaScriptCore/JSBase.h': No
> such file or directory
> JSClassRef.cpp
> d:\cygwin\home\waltersaegir\webkit\javascriptcore\api\JSObjectRef.h(29) :
> fatal error C1083: Cannot open include file: 'JavaScriptCore/JSBase.h': No
> such file or directory
> JSContextRef.cpp
> d:\cygwin\home\waltersaegir\webkit\javascriptcore\api\JSContextRef.h(29) :
> fatal error C1083: Cannot open include file: 'JavaScriptCore/JSObjectRef.h':
> No such file or directory
> JSObjectRef.cpp
> d:\cygwin\home\waltersaegir\webkit\javascriptcore\api\JSObjectRef.h(29) :
> fatal error C1083: Cannot open include file: 'JavaScriptCore/JSBase.h': No
> such file or directory
> JSStringRef.cpp
> d:\cygwin\home\waltersaegir\webkit\javascriptcore\api\JSStringRef.h(29) :
> fatal error C1083: Cannot open include file: 'JavaScriptCore/JSValueRef.h':
> No such file or directory
> JSStringRefBSTR.cpp
> d:\cygwin\home\waltersaegir\webkit\javascriptcore\api\JSStringRef.h(29) :
> fatal error C1083: Cannot open include file: 'JavaScriptCore/JSValueRef.h':
> No such file or directory
> JSStringRefCF.cpp
> d:\cygwin\home\waltersaegir\webkit\javascriptcore\api\JSStringRef.h(29) :
> fatal error C1083: Cannot open include file: 'JavaScriptCore/JSValueRef.h':
> No such file or directory
> JSValueRef.cpp
> d:\cygwin\home\waltersaegir\webkit\javascriptcore\api\JSValueRef.h(29) :
> fatal error C1083: Cannot open include file: 'JavaScriptCore/JSBase.h': No
> such file or directory
> OpaqueJSString.cpp
>
> ProfileGenerator.cpp
> d:\cygwin\home\waltersaegir\WebKit\JavaScriptCore\API\JSStringRef.h(29) :
> fatal error C1083: Cannot open include file: 'JavaScriptCore/JSValueRef.h':
> No such file or directory
>
> lexer.cpp
> ..\..\kjs\lexer.cpp(44) : fatal error C1083: Cannot open include file:
> 'grammar.h': No such file or directory
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.webkit.org/pipermail/webkit-dev/attachments/20080927/cdc89fab/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Sun, 28 Sep 2008 02:34:11 +0200
> From: Sherif <ehrenmann1877 at yahoo.de>
> Subject: [webkit-dev] Safari and complex script rendering
> To: webkit-dev at lists.webkit.org
> Message-ID: <48DED103.6050401 at yahoo.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello there
>
> I tested safari's webcore 332 located here
>
> http://www.opensource.apple.com/darwinsource/iPhone2.0/WebCore-332/
>
> but it seems that on the iphone, the webcore doesn't read the shaping
> information from the font files.
>
> Is this true?
>
> If yes, in which file does the complex scripting exist in the webcore, i
> need tips to include shaping information?
>
> thanks
>
> regards,
> Sherif
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 28 Sep 2008 11:38:31 +0400
> From: Alexey Proskuryakov <ap at webkit.org>
> Subject: Re: [webkit-dev] Safari and complex script rendering
> To: Sherif <ehrenmann1877 at yahoo.de>,    <webkit-dev at lists.webkit.org>
> Message-ID: <C5051D37.5DFC3%ap at webkit.org <C5051D37.5DFC3%25ap at webkit.org>
> >
> Content-Type: text/plain;       charset="US-ASCII"
>
> on 28.09.2008 04:34, Sherif at ehrenmann1877 at yahoo.de wrote:
>
> > but it seems that on the iphone, the webcore doesn't read the shaping
> > information from the font files.
> >
> > Is this true?
> >
> > If yes, in which file does the complex scripting exist in the webcore, i
> > need tips to include shaping information?
>
> As Darin told you 4 days ago, this is not a WebCore issue, so there is
> nothing you can do in WebCore to fix it.
>
> Being an issue outside of open source code, it is investigated by Apple
> internally.
>
> - WBR, Alexey Proskuryakov.
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 28 Sep 2008 01:15:43 -0700
> From: Paul Pedriana <ppedriana at gmail.com>
> Subject: [webkit-dev] Safari and complex script rendering
> To: WebKit-Dev <webkit-dev at lists.webkit.org>
> Message-ID: <48DF3D2F.8040101 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>    >> ... this is not a WebCore issue, so there is nothing you can do
> in WebCore to fix it.
>
> When I look at WebCore's WidthIterator::advance function, it doesn't
> seem to me to be savvy to complex script. It looks to me like it walks
> through a Unicode string and replaces character clusters with individual
> glyphs. This approach works for most scripts but not complex scripts
> such as Arabic and Devanagari. The problem, as you may well be aware, is
> that there are many OpenType-directed substitutions, ligations, and
> "un-ligations." This is unrelated to Arabic's RTL nature unrelated to
> simply contextual alternates resulting from cursiveness. It seems to me
> that complex script would have to be supported by something other than
> WidthIterator::advance (is it?).
>
> If WebCore (or WebKit in general) supports complex script correctly then
> I wonder what I am missing regarding the above statements.
>
> Paul
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 28 Sep 2008 01:27:43 -0700
> From: Maciej Stachowiak <mjs at apple.com>
> Subject: Re: [webkit-dev] Safari and complex script rendering
> To: Paul Pedriana <ppedriana at gmail.com>
> Cc: WebKit-Dev <webkit-dev at lists.webkit.org>
> Message-ID: <6CEA6BC2-C5FD-42F7-A5F3-143C3369D24B at apple.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
>
> On Sep 28, 2008, at 1:15 AM, Paul Pedriana wrote:
>
> >>> ... this is not a WebCore issue, so there is nothing you can do
> > in WebCore to fix it.
> >
> > When I look at WebCore's WidthIterator::advance function, it doesn't
> > seem to me to be savvy to complex script. It looks to me like it walks
> > through a Unicode string and replaces character clusters with
> > individual
> > glyphs. This approach works for most scripts but not complex scripts
> > such as Arabic and Devanagari. The problem, as you may well be
> > aware, is
> > that there are many OpenType-directed substitutions, ligations, and
> > "un-ligations." This is unrelated to Arabic's RTL nature unrelated to
> > simply contextual alternates resulting from cursiveness. It seems to
> > me
> > that complex script would have to be supported by something other than
> > WidthIterator::advance (is it?).
> >
> > If WebCore (or WebKit in general) supports complex script correctly
> > then
> > I wonder what I am missing regarding the above statements.
>
> WebKit on Mac and Windows (and perhaps other ports, haven't tested)
> supports complex scripts such as Arabic. But not (currently) the
> iPhone port.
>
> Regards,
> Maciej
>
>
>
> ------------------------------
>
> Message: 6
> Date: Sun, 28 Sep 2008 13:13:03 +0400
> From: Alexey Proskuryakov <ap at webkit.org>
> Subject: Re: [webkit-dev] Safari and complex script rendering
> To: Paul Pedriana <ppedriana at gmail.com>,        WebKit-Dev
>        <webkit-dev at lists.webkit.org>
> Message-ID: <C505335F.5DFF0%ap at webkit.org <C505335F.5DFF0%25ap at webkit.org>
> >
> Content-Type: text/plain;       charset="US-ASCII"
>
> on 28.09.2008 12:15, Paul Pedriana at ppedriana at gmail.com wrote:
>
> > It seems to me that complex script would have to be supported by
> something
> > other than WidthIterator::advance (is it?).
>
> There are multiple parts for such support indeed, which has to do with
> different requirements for rendering, editing and DOM APIs. See e.g.
> iteration support in Position and VisiblePosition.
>
> Of course, "supported" never means "absolutely bug-free" - no
> implementation
> of text rendering, and probably not even any spec works perfectly for all
> scripts and all use cases.
>
> - WBR, Alexey Proskuryakov.
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Sun, 28 Sep 2008 12:06:58 +0200
> From: Sherif <ehrenmann1877 at yahoo.de>
> Subject: Re: [webkit-dev] Safari and complex script rendering
> To: Alexey Proskuryakov <ap at webkit.org>
> Cc: webkit-dev at lists.webkit.org
> Message-ID: <48DF5742.4090101 at yahoo.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello Alexey, Darin and all
>
> Thank you for your replies. I tested the iphone with different fonts
> that i checked using fontforge. The fonts have both Gsub and Gpos tables
> correct, but
>
> _the problem is that:_
>
> Iphone doesn't load the Gsub table from the font file. It keeps on using
> the isolated form for each letter.
>
> Accordingly i though to embed the sub tables to be hardcoded in the
> webcore.
>
> any comments would be appreciated.
>
> regards,
> Sherif
>
>
> Alexey Proskuryakov wrote:
> > on 28.09.2008 04:34, Sherif at ehrenmann1877 at yahoo.de wrote:
> >
> >
> >> but it seems that on the iphone, the webcore doesn't read the shaping
> >> information from the font files.
> >>
> >> Is this true?
> >>
> >> If yes, in which file does the complex scripting exist in the webcore, i
> >> need tips to include shaping information?
> >>
> >
> > As Darin told you 4 days ago, this is not a WebCore issue, so there is
> > nothing you can do in WebCore to fix it.
> >
> > Being an issue outside of open source code, it is investigated by Apple
> > internally.
> >
> > - WBR, Alexey Proskuryakov.
> >
> >
> >
> >
>
>
>
>
> ------------------------------
>
> Message: 8
> Date: Sun, 28 Sep 2008 12:37:19 +0200
> From: Sherif <ehrenmann1877 at yahoo.de>
> Subject: Re: [webkit-dev] Safari and complex script rendering
> To: Maciej Stachowiak <mjs at apple.com>
> Cc: WebKit-Dev <webkit-dev at lists.webkit.org>
> Message-ID: <48DF5E5F.9010609 at yahoo.de>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thank you guys for your comments.
> There is a software in the market that installs an edited version of the
> webcore that makes such letter shaping but its very expensive.
> Please find the attached code, i would like to embed it some where when
> the html page is loaded to shape the words together.
> It would be greate if somebody guys can point me to the correct function
> to plug the code in.
>
> regards,
> Sherif
>
>
>
>
> Maciej Stachowiak wrote:
> > On Sep 28, 2008, at 1:15 AM, Paul Pedriana wrote:
> >
> >
> >>>> ... this is not a WebCore issue, so there is nothing you can do
> >>>>
> >> in WebCore to fix it.
> >>
> >> When I look at WebCore's WidthIterator::advance function, it doesn't
> >> seem to me to be savvy to complex script. It looks to me like it walks
> >> through a Unicode string and replaces character clusters with
> >> individual
> >> glyphs. This approach works for most scripts but not complex scripts
> >> such as Arabic and Devanagari. The problem, as you may well be
> >> aware, is
> >> that there are many OpenType-directed substitutions, ligations, and
> >> "un-ligations." This is unrelated to Arabic's RTL nature unrelated to
> >> simply contextual alternates resulting from cursiveness. It seems to
> >> me
> >> that complex script would have to be supported by something other than
> >> WidthIterator::advance (is it?).
> >>
> >> If WebCore (or WebKit in general) supports complex script correctly
> >> then
> >> I wonder what I am missing regarding the above statements.
> >>
> >
> > WebKit on Mac and Windows (and perhaps other ports, haven't tested)
> > supports complex scripts such as Arabic. But not (currently) the
> > iPhone port.
> >
> > Regards,
> > Maciej
> >
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> >
> >
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: mu.rar
> Type: application/octet-stream
> Size: 2679 bytes
> Desc: not available
> Url :
> http://lists.webkit.org/pipermail/webkit-dev/attachments/20080928/57469a3e/attachment-0001.obj
>
> ------------------------------
>
> Message: 9
> Date: Sun, 28 Sep 2008 13:44:57 +0300
> From: Mohammed Sameer <msameer at foolab.org>
> Subject: Re: [webkit-dev] Safari and complex script rendering
> To: webkit-dev at lists.webkit.org
> Message-ID: <20080928104457.GB19374 at home.foolab.org>
> Content-Type: text/plain; charset="utf-8"
>
> 1) WebKit itself supports complex script rendering.
> 2) The iPhone edition of WebKit does not support complex scripts.
> 3) You can't fix the iPhone problem because it's closed and no one can do
> it but Apple.
> 4) There's nothing you or we can do to fix the iPhone.
> 5) Implementing complex scripts support is not easy as plugging some code
> into a function.
>
> On Sun, Sep 28, 2008 at 12:37:19PM +0200, Sherif wrote:
> > Thank you guys for your comments.
> > There is a software in the market that installs an edited version of the
> > webcore that makes such letter shaping but its very expensive.
> > Please find the attached code, i would like to embed it some where when
> > the html page is loaded to shape the words together.
> > It would be greate if somebody guys can point me to the correct function
> > to plug the code in.
> >
> > regards,
> > Sherif
> >
> >
> >
> >
> > Maciej Stachowiak wrote:
> >> On Sep 28, 2008, at 1:15 AM, Paul Pedriana wrote:
> >>
> >>
> >>>>> ... this is not a WebCore issue, so there is nothing you can do
> >>>>>
> >>> in WebCore to fix it.
> >>>
> >>> When I look at WebCore's WidthIterator::advance function, it doesn't
> >>> seem to me to be savvy to complex script. It looks to me like it walks
> >>> through a Unicode string and replaces character clusters with
> >>> individual
> >>> glyphs. This approach works for most scripts but not complex scripts
> >>> such as Arabic and Devanagari. The problem, as you may well be
> >>> aware, is
> >>> that there are many OpenType-directed substitutions, ligations, and
> >>> "un-ligations." This is unrelated to Arabic's RTL nature unrelated to
> >>> simply contextual alternates resulting from cursiveness. It seems to
> >>> me
> >>> that complex script would have to be supported by something other than
> >>> WidthIterator::advance (is it?).
> >>>
> >>> If WebCore (or WebKit in general) supports complex script correctly
> >>> then
> >>> I wonder what I am missing regarding the above statements.
> >>>
> >>
> >> WebKit on Mac and Windows (and perhaps other ports, haven't tested)
> >> supports complex scripts such as Arabic. But not (currently) the
> >> iPhone port.
> >>
> >> Regards,
> >> Maciej
> >>
> >> _______________________________________________
> >> webkit-dev mailing list
> >> webkit-dev at lists.webkit.org
> >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> >>
> >>
> >
>
>
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
> --
> GPG-Key: 0xA3FD0DF7 - 9F73 032E EAC9 F7AD 951F  280E CB66 8E29 A3FD 0DF7
> Debian User and Developer.
> Homepage: www.foolab.org
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 189 bytes
> Desc: Digital signature
> Url :
> http://lists.webkit.org/pipermail/webkit-dev/attachments/20080928/03e617c5/attachment-0001.bin
>
> ------------------------------
>
> Message: 10
> Date: Sun, 28 Sep 2008 12:58:45 +0200
> From: Sherif <ehrenmann1877 at yahoo.de>
> Subject: Re: [webkit-dev] Safari and complex script rendering
> To: Mohammed Sameer <msameer at foolab.org>
> Cc: webkit-dev at lists.webkit.org
> Message-ID: <48DF6365.3020404 at yahoo.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Thank you Mohamed for your comment.
> It is not implementing a complex script but implementing the shaping.
> If you claim, that it is closed, how did the other webcore exist.
>
> Why i can't?
> The source code is available.
>
>
> Mohammed Sameer wrote:
> > 1) WebKit itself supports complex script rendering.
> > 2) The iPhone edition of WebKit does not support complex scripts.
> > 3) You can't fix the iPhone problem because it's closed and no one can do
> it but Apple.
> > 4) There's nothing you or we can do to fix the iPhone.
> > 5) Implementing complex scripts support is not easy as plugging some code
> into a function.
> >
> > On Sun, Sep 28, 2008 at 12:37:19PM +0200, Sherif wrote:
> >
> >> Thank you guys for your comments.
> >> There is a software in the market that installs an edited version of the
> >> webcore that makes such letter shaping but its very expensive.
> >> Please find the attached code, i would like to embed it some where when
> >> the html page is loaded to shape the words together.
> >> It would be greate if somebody guys can point me to the correct function
> >> to plug the code in.
> >>
> >> regards,
> >> Sherif
> >>
> >>
> >>
> >>
> >> Maciej Stachowiak wrote:
> >>
> >>> On Sep 28, 2008, at 1:15 AM, Paul Pedriana wrote:
> >>>
> >>>
> >>>
> >>>>>> ... this is not a WebCore issue, so there is nothing you can do
> >>>>>>
> >>>>>>
> >>>> in WebCore to fix it.
> >>>>
> >>>> When I look at WebCore's WidthIterator::advance function, it doesn't
> >>>> seem to me to be savvy to complex script. It looks to me like it walks
> >>>> through a Unicode string and replaces character clusters with
> >>>> individual
> >>>> glyphs. This approach works for most scripts but not complex scripts
> >>>> such as Arabic and Devanagari. The problem, as you may well be
> >>>> aware, is
> >>>> that there are many OpenType-directed substitutions, ligations, and
> >>>> "un-ligations." This is unrelated to Arabic's RTL nature unrelated to
> >>>> simply contextual alternates resulting from cursiveness. It seems to
> >>>> me
> >>>> that complex script would have to be supported by something other than
> >>>> WidthIterator::advance (is it?).
> >>>>
> >>>> If WebCore (or WebKit in general) supports complex script correctly
> >>>> then
> >>>> I wonder what I am missing regarding the above statements.
> >>>>
> >>>>
> >>> WebKit on Mac and Windows (and perhaps other ports, haven't tested)
> >>> supports complex scripts such as Arabic. But not (currently) the
> >>> iPhone port.
> >>>
> >>> Regards,
> >>> Maciej
> >>>
> >>> _______________________________________________
> >>> webkit-dev mailing list
> >>> webkit-dev at lists.webkit.org
> >>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> >>>
> >>>
> >>>
> >
> >
> >
> >> _______________________________________________
> >> webkit-dev mailing list
> >> webkit-dev at lists.webkit.org
> >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> >>
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> >
>
>
>
>
> ------------------------------
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
> End of webkit-dev Digest, Vol 40, Issue 30
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20081010/87f310a5/attachment.html 


More information about the webkit-dev mailing list