First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 1638
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Hubert Figuiere <hfiguiere@teaser.fr>
Hardware:
OS:
Version:
Priority:
Severity:
Target Milestone:
Reporter: Andrew Dunbar <hippytrail@gmail.com>
Add CC:
CC:
Remove selected CCs
QA Contact:
URL:
Summary:
Status Whiteboard:
Keywords:

Attachment Type Creator Created Size Flags Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 1638 depends on: Show dependency tree
Show dependency graph
Bug 1638 blocks:

Additional Comments:





View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2001-06-28 00:13
In Russian locale on Win2K I opened a document and saved as HTML.  I reloaded
it
as XHTML.  Each character is bigger than a page!
The HTML source contains this:

<span style="font-family: 'Times New Roman'; font-size: 12,000000pt">

Note the ",".  I think this is locale related.  Font size is really 12.
Are we writing font sizes in locale-dependent floating point?  Why don't
we use integers?  We should read and write in a set, locale-independent format.
This may affect other document types.

------- Comment #1 From Hubert Figuiere 2001-07-02 09:41:11 -------
This is  known problem that MUST be eradicated:

printf ("%f") considered harmful as it uses locale to format the number.

This will happen in French locale too.

------- Comment #2 From Dom Lachowicz 2001-07-03 16:00:20 -------
I just fixed this. Sorry yo

------- Comment #3 From Tim 2001-11-11 18:24:59 -------
verified.

------- Comment #4 From Hubert Figuiere 2004-02-12 13:32:05 -------
closing verified bugs whose target is no longer

First Last Prev Next    No search results available      Search page      Enter new bug