Closed
Bug 48152
Opened 25 years ago
Closed 25 years ago
Extra space around ’ (right single quote AKA apostrophe))
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
INVALID
People
(Reporter: ponyisi, Assigned: waterson)
References
()
Details
Attachments
(2 files)
When an apostrophe is encoded as ’ weird extra space gets left around it,
as if the character's bounding box is wrong. Reproduces with Adobe Times, New
Century Schoolbook, and Utopia, and Bitstream Charter.
Updated•25 years ago
|
Assignee: asa → clayton
Status: UNCONFIRMED → NEW
Component: Browser-General → Layout
Ever confirmed: true
QA Contact: doronr → petersen
Comment 1•25 years ago
|
||
over to layout.
related to bug 48234 where ’ on Win NT makes space vanish instead
Comment 3•25 years ago
|
||
The character code ’ corresponds to "right single quote" in MS-Windows
cp-1252 fonts, but according to ISO-8859-1 the whole range from 128-159
is reserved for control codes, and according to Unicode and HTML 4.0,
the proper references for "right single quote" are ’, ’,
and ’ (see http://www.hut.fi/u/jkorpela/www/windows-chars.html for
details). All of which suggests that ’ is being transcoded; the extra
space must be creeping in during the process.
It would be instructive to view a testcase for bug 48234,
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=12751
on Linux, to see if the same problem happens if ’ is used instead.
Summary: Extra space around ’ (apostrophe) → Extra space around ’ (right single quote AKA apostrophe))
Comment 4•25 years ago
|
||
A snippet from the Mozilla M4 release notes,
http://www.mozilla.org/projects/seamonkey/release-notes/m4.html --
> Linux GFX uses multiple font to render Unicode text. Currently it takes
> Latin-1 and Japanese (0208) fonts only. Known problems:
>
> * Japanese fonts are large compared with Latin, causing overlap with lines
> above. You can use an environment variable to alleviate this problem:
> setenv GECKO_FONT_SIZE_FACTOR 1.5
>
> * Windows CP 1252 characters such as smart quotes are taken from Japanese
> font, which is often too large compared to Latin font.
This raises the question, is it truly "extra space", or just the normal space
for the font the ’ glyph is pulled from, if it isn't available in the
font the other characters come from.
ponyisi@hotmail.com, it would likely help if you made a screenshot .gif or .png
file and attached it to this bug (use the _Create a new attachment_ link just
under the Keywords line, above).
Comment 5•25 years ago
|
||
Re-assigning 6 bugs from Clayton's list to Harish for further triage.
Assignee: clayton → harishd
Triaging clayton's list:
-----------------------
Sounds like a pure layout problem. Mark I'm going to start with you. Please
point this bug to right person if you're not the owner. Thanx
CCing waterson.
Assignee: harishd → attinasi
Assignee | ||
Comment 7•25 years ago
|
||
Maybe related to 47154, for which I have a fix. Stealing from attinasi.
Assignee: attinasi → waterson
Comment 8•25 years ago
|
||
Reporter | ||
Comment 9•25 years ago
|
||
Assignee | ||
Comment 10•25 years ago
|
||
Marking INVALID. I'm seeing the correct amount of space being drawn on Linux and
WinNT. Maybe this was fixed; don't know. We're laying this page out just like
4.x does.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•