[Bug 530760] fontlint can not parse ./ relative paths

2009-12-31 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=530760





--- Comment #2 from Kevin Fenzi   2009-12-31 23:23:26 EDT ---
I've just commited a patch from upstream to fix this. 

Can you test? 

http://koji.fedoraproject.org/koji/taskinfo?taskID=1897326

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


rpms/fontforge/devel fontforge-20090923-rel-path.patch, NONE, 1.1 fontforge.spec, 1.48, 1.49

2009-12-31 Thread Kevin Fenzi
Author: kevin

Update of /cvs/extras/rpms/fontforge/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29629

Modified Files:
fontforge.spec 
Added Files:
fontforge-20090923-rel-path.patch 
Log Message:
Add patch to fix relative paths for fontlint (fixes #530760)


fontforge-20090923-rel-path.patch:
 fsys.c |   21 +++--
 1 file changed, 15 insertions(+), 6 deletions(-)

--- NEW FILE fontforge-20090923-rel-path.patch ---
diff -Nur fontforge-20090923.orig/gutils/fsys.c fontforge-20090923/gutils/fsys.c
--- fontforge-20090923.orig/gutils/fsys.c   2009-01-25 11:06:49.0 
-0700
+++ fontforge-20090923/gutils/fsys.c2009-12-31 09:59:54.0 -0700
@@ -41,6 +41,15 @@
 
 static char dirname_[1024];
 
+static void savestrcpy(char *dest,const char *src) {
+forever {
+   *dest = *src;
+   if ( *dest=='\0' )
+break;
+   ++dest; ++src;
+}
+}
+
 char *GFileGetAbsoluteName(char *name, char *result, int rsiz) {
 /* result may be the same as name */
 char buffer[1000];
@@ -62,13 +71,13 @@
if ( *spt=='/' ) ++spt;
for ( pt = spt; *pt!='\0' && *pt!='/'; ++pt );
if ( pt==spt )  /* Found // in a path spec, reduce to / (we've*/
-   strcpy(spt,pt); /*  skipped past the :// of the machine name) */
-   else if ( pt==spt+1 && spt[0]=='.' )/* Noop */
-   strcpy(spt,pt);
-   else if ( pt==spt+2 && spt[0]=='.' && spt[1]=='.' ) {
+   savestrcpy(spt,spt+1); /*  skipped past the :// of the machine 
name) */
+else if ( pt==spt+1 && spt[0]=='.' ) {  /* Noop */
+   savestrcpy(spt,spt+2);
+} else if ( pt==spt+2 && spt[0]=='.' && spt[1]=='.' ) {
for ( bpt=spt-2 ; bpt>rpt && *bpt!='/'; --bpt );
if ( bpt>=rpt && *bpt=='/' ) {
-   strcpy(bpt,pt);
+savestrcpy(bpt,pt);
spt = bpt;
} else {
rpt = pt;
@@ -99,7 +108,7 @@
 
 if ( dir==NULL || *dir=='\0' ) {
if ( strlen( fname )http://downloads.sourceforge.net/fontforge/fontforge_htdocs-%{docs_version}.tar.bz2
 Source3:fontforge.xml
 Patch1: fontforge-20090224-pythondl.patch
+Patch2:fontforge-20090923-rel-path.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:   xdg-utils
@@ -57,6 +58,7 @@ to compile applications against fontforg
 %setup -q -n %{name}-%{version}
 
 %patch1 -p1
+%patch2 -p1
 
 mkdir htdocs
 tar xjf %{SOURCE2} -C htdocs
@@ -147,6 +149,9 @@ update-mime-database %{_datadir}/mime &>
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Wed Dec 30 2009 Kevin Fenzi  - 20090923-2
+- Add patch to fix relative paths for fontlint (fixes #530760)
+
 * Sun Nov 01 2009 Kevin Fenzi  - 20090923-1
 - Upgrade to 20090923
 

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 551317] [te_IN] A dash becomes a long empty space.

2009-12-31 Thread bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=551317





--- Comment #3 from Satya   2009-12-31 16:26:37 EDT ---
That works! Thanks!!
I am also seeing the icon is corrected to show a Telugu letter. The earlier
version was showing the letters of some other language!

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Issue 76587] WW8: MathType object displ ayed without brackets etc.

2009-12-31 Thread r6144
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76587





--- Additional comments from r6...@openoffice.org Thu Dec 31 09:03:21 + 
2009 ---
Fedora 12's version (3.1.1-19.14.fc12.x86_64) also has this problem, and I did
some investigations today.

The WMF import code is in OOO310_m19/svtools/source/filter.vcl/wmf.  In the
offending documents, the Symbol font has DEFAULT_CHARSET, so the original code
uses the charset from gsl_getSystemTextEncoding() which is dependent on LANG. 
When I replace these gsl_getSystemTextEncoding() calls with
RTL_TEXTENCODING_MS_1252, the problem disappears.

I don't think the calls to gsl_getSystemTextEncoding() make any sense in the WMF
importer, at least under Linux.  The default charset of a WMF file is a property
of the file itself, and perhaps the system generating it, but it should not
depend on the settings of the system loading the file.  Since WMF files are
usually generated in Windows, if the ANSI version of TEXTOUT is used with
DEFAULT_CHARSET, most likely the intended charset is MS 1252.  The user can be
given the option to specify another default charset, or use some language- and
font-dependent default ANSI codepage, if that's truly necessary.

Some more testing is needed to check if this works for Windows-generated WMFs
containing CJK text, and if the metafiles exported from OO.o can still be loaded
in OO.o and in MS Word.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list