[Pharo-project] Problems with Strike fonts
Weeks ago Lukas reported an issue with StrikeFonts width. I don't know if it is the same, but in the latest dev with StrikeFonts (pharo1.0-10502-rc1dev09.12.2) you cannot even understand the text. Look the attached screenshot ? What do you think it says ? Ok, it says: "OCompleti" I am the only one that see that ? cheers mariano
No screenshto attached Alexandre On 8 Jan 2010, at 10:43, Mariano Martinez Peck wrote:
Weeks ago Lukas reported an issue with StrikeFonts width. I don't know if it is the same, but in the latest dev with StrikeFonts (pharo1.0-10502-rc1dev09.12.2) you cannot even understand the text.
Look the attached screenshot ? What do you think it says ?
Ok, it says: "OCompleti"
I am the only one that see that ?
cheers
mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Thanks Stef, I wanted to see if you were paying attention ;) hahahah On Fri, Jan 8, 2010 at 3:03 PM, Alexandre Bergel <alexandre@bergel.eu>wrote:
No screenshto attached
Alexandre
On 8 Jan 2010, at 10:43, Mariano Martinez Peck wrote:
Weeks ago Lukas reported an issue with StrikeFonts width. I don't know if it is the same, but in the latest dev with StrikeFonts (pharo1.0-10502-rc1dev09.12.2) you cannot even understand the text.
Look the attached screenshot ? What do you think it says ?
Ok, it says: "OCompleti"
I am the only one that see that ?
cheers
mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
It seems that emphasized strike fonts do not render properly? Anyway, we planned to put back the FreeType deja vu fonts for the Pharo image (but keep the strike fonts installed for PharoCore). Since syntax highlighting is only delivered with Pharo, the problem will not be apparent anymore. Adrian On Jan 8, 2010, at 15:11 , Mariano Martinez Peck wrote:
Thanks Stef, I wanted to see if you were paying attention ;)
hahahah
On Fri, Jan 8, 2010 at 3:03 PM, Alexandre Bergel <alexandre@bergel.eu>wrote:
No screenshto attached
Alexandre
On 8 Jan 2010, at 10:43, Mariano Martinez Peck wrote:
Weeks ago Lukas reported an issue with StrikeFonts width. I don't know if it is the same, but in the latest dev with StrikeFonts (pharo1.0-10502-rc1dev09.12.2) you cannot even understand the text.
Look the attached screenshot ? What do you think it says ?
Ok, it says: "OCompleti"
I am the only one that see that ?
cheers
mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
<Picture 2.png>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Fri, Jan 8, 2010 at 3:23 PM, Adrian Lienhard <adi@netstyle.ch> wrote:
It seems that emphasized strike fonts do not render properly?
Anyway, we planned to put back the FreeType deja vu fonts for the Pharo image (but keep the strike fonts installed for PharoCore). Since syntax highlighting is only delivered with Pharo, the problem will not be apparent anymore.
Yes, I know. However StrikeFonts seems to be much more faster than TrueTypes. So, for now it is at you say. However, it would be cool if we can detect the problems with StrikeFOnts, fix them and maybe in a future out them also on PharoDev. Cheers Mariano
Adrian
On Jan 8, 2010, at 15:11 , Mariano Martinez Peck wrote:
Thanks Stef, I wanted to see if you were paying attention ;)
hahahah
On Fri, Jan 8, 2010 at 3:03 PM, Alexandre Bergel <alexandre@bergel.eu>wrote:
No screenshto attached
Alexandre
On 8 Jan 2010, at 10:43, Mariano Martinez Peck wrote:
Weeks ago Lukas reported an issue with StrikeFonts width. I don't know if it is the same, but in the latest dev with StrikeFonts (pharo1.0-10502-rc1dev09.12.2) you cannot even understand the text.
Look the attached screenshot ? What do you think it says ?
Ok, it says: "OCompleti"
I am the only one that see that ?
cheers
mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
<Picture 2.png>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
The fix is easy, add at end of StrikeFont>>createDejaVu: oblique derivativeFont: boldOblique at: 1. oblique derivativeFont: oblique at: 2. oblique derivativeFont: boldOblique at: 3. boldOblique derivativeFont: boldOblique at: 1. boldOblique derivativeFont: boldOblique at: 2. boldOblique derivativeFont: boldOblique at: 3. The evaluate StrikeFont installDejaVu and voila! you using the bitmapped versions instead of making derived Oblique Oblique fonts, or deriving Bold Oblique font version from Oblique fonts manually. Cheers, Henry On Jan 8, 2010, at 3:23 51PM, Adrian Lienhard wrote:
It seems that emphasized strike fonts do not render properly?
Anyway, we planned to put back the FreeType deja vu fonts for the Pharo image (but keep the strike fonts installed for PharoCore). Since syntax highlighting is only delivered with Pharo, the problem will not be apparent anymore.
Adrian
On Jan 8, 2010, at 15:11 , Mariano Martinez Peck wrote:
Thanks Stef, I wanted to see if you were paying attention ;)
hahahah
On Fri, Jan 8, 2010 at 3:03 PM, Alexandre Bergel <alexandre@bergel.eu>wrote:
No screenshto attached
Alexandre
On 8 Jan 2010, at 10:43, Mariano Martinez Peck wrote:
Weeks ago Lukas reported an issue with StrikeFonts width. I don't know if it is the same, but in the latest dev with StrikeFonts (pharo1.0-10502-rc1dev09.12.2) you cannot even understand the text.
Look the attached screenshot ? What do you think it says ?
Ok, it says: "OCompleti"
I am the only one that see that ?
cheers
mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
<Picture 2.png>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Thanks Henrik. However, I tried what you told me and still is ugly :( Any idea? Thanks Mariano On Fri, Jan 8, 2010 at 4:15 PM, Henrik Johansen < henrik.s.johansen@veloxit.no> wrote:
The fix is easy, add at end of StrikeFont>>createDejaVu:
oblique derivativeFont: boldOblique at: 1. oblique derivativeFont: oblique at: 2. oblique derivativeFont: boldOblique at: 3. boldOblique derivativeFont: boldOblique at: 1. boldOblique derivativeFont: boldOblique at: 2. boldOblique derivativeFont: boldOblique at: 3.
The evaluate StrikeFont installDejaVu
and voila! you using the bitmapped versions instead of making derived Oblique Oblique fonts, or deriving Bold Oblique font version from Oblique fonts manually.
Cheers, Henry
On Jan 8, 2010, at 3:23 51PM, Adrian Lienhard wrote:
It seems that emphasized strike fonts do not render properly?
Anyway, we planned to put back the FreeType deja vu fonts for the Pharo image (but keep the strike fonts installed for PharoCore). Since syntax highlighting is only delivered with Pharo, the problem will not be apparent anymore.
Adrian
On Jan 8, 2010, at 15:11 , Mariano Martinez Peck wrote:
Thanks Stef, I wanted to see if you were paying attention ;)
hahahah
On Fri, Jan 8, 2010 at 3:03 PM, Alexandre Bergel <alexandre@bergel.eu>wrote:
No screenshto attached
Alexandre
On 8 Jan 2010, at 10:43, Mariano Martinez Peck wrote:
Weeks ago Lukas reported an issue with StrikeFonts width. I don't know if it is the same, but in the latest dev with StrikeFonts (pharo1.0-10502-rc1dev09.12.2) you cannot even understand the text.
Look the attached screenshot ? What do you think it says ?
Ok, it says: "OCompleti"
I am the only one that see that ?
cheers
mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
<Picture 2.png>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Jan 8, 2010, at 4:24 25PM, Mariano Martinez Peck wrote:
Thanks Henrik. However, I tried what you told me and still is ugly :(
Any idea?
Thanks
Mariano Try setting Code Font to italic though, bolded message names in browsers will now look nice, where they previously where fugly :)
To fix the text you mentioned, you additionally need to remove the call to isSynthetic: true from StrikeFont >> makeUnderlinedGlyphs. (Synthetic is only valid if the emphasis alters character width, which underlining it does not) Cheers, Henry
On Fri, Jan 8, 2010 at 4:15 PM, Henrik Johansen <henrik.s.johansen@veloxit.no> wrote: The fix is easy, add at end of StrikeFont>>createDejaVu:
oblique derivativeFont: boldOblique at: 1. oblique derivativeFont: oblique at: 2. oblique derivativeFont: boldOblique at: 3. boldOblique derivativeFont: boldOblique at: 1. boldOblique derivativeFont: boldOblique at: 2. boldOblique derivativeFont: boldOblique at: 3.
The evaluate StrikeFont installDejaVu
and voila! you using the bitmapped versions instead of making derived Oblique Oblique fonts, or deriving Bold Oblique font version from Oblique fonts manually.
Cheers, Henry
On Jan 8, 2010, at 3:23 51PM, Adrian Lienhard wrote:
It seems that emphasized strike fonts do not render properly?
Anyway, we planned to put back the FreeType deja vu fonts for the Pharo image (but keep the strike fonts installed for PharoCore). Since syntax highlighting is only delivered with Pharo, the problem will not be apparent anymore.
Adrian
On Jan 8, 2010, at 15:11 , Mariano Martinez Peck wrote:
Thanks Stef, I wanted to see if you were paying attention ;)
hahahah
On Fri, Jan 8, 2010 at 3:03 PM, Alexandre Bergel <alexandre@bergel.eu>wrote:
No screenshto attached
Alexandre
On 8 Jan 2010, at 10:43, Mariano Martinez Peck wrote:
Weeks ago Lukas reported an issue with StrikeFonts width. I don't know if it is the same, but in the latest dev with StrikeFonts (pharo1.0-10502-rc1dev09.12.2) you cannot even understand the text.
Look the attached screenshot ? What do you think it says ?
Ok, it says: "OCompleti"
I am the only one that see that ?
cheers
mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
<Picture 2.png>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
are you suggesting that we load your DejaVu package in pharodev? On Jan 8, 2010, at 6:02 PM, Alain Plantec wrote:
Mariano Martinez Peck a écrit :
Thanks Henrik. However, I tried what you told me and still is ugly :( maybe you could try with the dejavu from www.squeaksource.com/DejaVu Alain
Any idea?
Thanks
Mariano
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Stéphane Ducasse a écrit :
are you suggesting that we load your DejaVu package in pharodev?
I suggested to test with them because all sizes have their own derivative font (bold and italic at least). So maybe the problem reported by Mariano would be fixed. and why not loading them in pharodev if they are ok. Alain
On Jan 8, 2010, at 6:02 PM, Alain Plantec wrote:
Mariano Martinez Peck a écrit :
Thanks Henrik. However, I tried what you told me and still is ugly :(
maybe you could try with the dejavu from www.squeaksource.com/DejaVu Alain
Any idea?
Thanks
Mariano
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
The problem with too narrow Italic was not caused by an old version of the bitmaps, which would be fixed by loading the ones on squeaksource. It was caused by "isSynthetic" being used for two purposes: 1) Deciding which fonts were safe to delete when cleaning cache 2) Deriving a custom baseKern for italic fonts calculated from a non-italic font. The two clash however, when you strikethrough/bold/underline an already custom italic font, since it would be both synthetic and have the italic property... My suggested hotfix was to remove the setting of fonts as synthetic when derived from custom italic fonts, although this will cause them to not be deleted when cleaning cache, it will make them render correctly. A better alternative, I think, is to introduce another synthetic setting (inst var type of StrikeFont, only 0 and 3 is currently used), indicating the font is synthetic in the sense it can be deleted from caches, but derived from an italic base font so no kern adjustment should be used. The issue that the paint rule for making derived bold/italic versions do not respect alpha values if they exist in the base font still remains unsolved by this. Cheers, Henry On 08.01.2010 21:05, Stéphane Ducasse wrote:
are you suggesting that we load your DejaVu package in pharodev?
On Jan 8, 2010, at 6:02 PM, Alain Plantec wrote:
Mariano Martinez Peck a écrit :
Thanks Henrik. However, I tried what you told me and still is ugly :(
maybe you could try with the dejavu from www.squeaksource.com/DejaVu Alain
Any idea?
Thanks
Mariano
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On 08.01.2010 16:24, Mariano Martinez Peck wrote:
Thanks Henrik. However, I tried what you told me and still is ugly :(
Any idea?
Thanks
Mariano
http://code.google.com/p/pharo/issues/detail?id=1780 It fixes italic fonts of too narrow width, as well as bold italic versions being synthetically derived from italic/bold Fonts when a non-synthetic bold italic Font exists. Cheers, Henry
On Mon, Jan 11, 2010 at 11:56 PM, Henrik Sperre Johansen < henrik.s.johansen@veloxit.no> wrote:
On 08.01.2010 16:24, Mariano Martinez Peck wrote:
Thanks Henrik. However, I tried what you told me and still is ugly :(
Any idea?
Thanks
Mariano
http://code.google.com/p/pharo/issues/detail?id=1780
It fixes italic fonts of too narrow width, as well as bold italic versions being synthetically derived from italic/bold Fonts when a non-synthetic bold italic Font exists.
Thanks so much Henrik. I will try it tomorrow. I have a question: suppose I have running FreeTypes and I want to put this StrikeFonts again, do you know which piece of code let me do that ? It would be cool to give this possibily to the user of a dev image. Cheers Mariano
Cheers, Henry
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
I think I asked to quickly. Maybe evaluating this: FreeTypeCache clearCurrent. StrikeFont installDejaVu ??? On Tue, Jan 12, 2010 at 12:01 AM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
On Mon, Jan 11, 2010 at 11:56 PM, Henrik Sperre Johansen < henrik.s.johansen@veloxit.no> wrote:
On 08.01.2010 16:24, Mariano Martinez Peck wrote:
Thanks Henrik. However, I tried what you told me and still is ugly :(
Any idea?
Thanks
Mariano
http://code.google.com/p/pharo/issues/detail?id=1780
It fixes italic fonts of too narrow width, as well as bold italic versions being synthetically derived from italic/bold Fonts when a non-synthetic bold italic Font exists.
Thanks so much Henrik. I will try it tomorrow.
I have a question: suppose I have running FreeTypes and I want to put this StrikeFonts again, do you know which piece of code let me do that ?
It would be cool to give this possibily to the user of a dev image.
Cheers
Mariano
Cheers, Henry
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
You can always mix and match if you want by setting Fonts individually back to Bitmap DejaVu in the Font chooser. StrikeFont installDejaVu is simpler in the way that it automatically installs a font policy using it, it is also needed for the Bold oblique method headers mentioned in the report to display correctly, as who is derived from who is decided at install time. The underlined italic fonts beeing too narrow should be fixed either way. Cheers, Henry On 12.01.2010 00:02, Mariano Martinez Peck wrote:
I think I asked to quickly. Maybe evaluating this:
FreeTypeCache clearCurrent.
StrikeFont installDejaVu
???
On Tue, Jan 12, 2010 at 12:01 AM, Mariano Martinez Peck <marianopeck@gmail.com <mailto:marianopeck@gmail.com>> wrote:
On Mon, Jan 11, 2010 at 11:56 PM, Henrik Sperre Johansen <henrik.s.johansen@veloxit.no <mailto:henrik.s.johansen@veloxit.no>> wrote:
On 08.01.2010 16:24, Mariano Martinez Peck wrote: > Thanks Henrik. However, I tried what you told me and still is ugly :( > > Any idea? > > Thanks > > Mariano > > http://code.google.com/p/pharo/issues/detail?id=1780
It fixes italic fonts of too narrow width, as well as bold italic versions being synthetically derived from italic/bold Fonts when a non-synthetic bold italic Font exists.
Thanks so much Henrik. I will try it tomorrow.
I have a question: suppose I have running FreeTypes and I want to put this StrikeFonts again, do you know which piece of code let me do that ?
It would be cool to give this possibily to the user of a dev image.
Cheers
Mariano
Cheers, Henry
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr <mailto:Pharo-project@lists.gforge.inria.fr> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
cool soon in 1.1 :") (I should learn new smileys) On Jan 11, 2010, at 11:56 PM, Henrik Sperre Johansen wrote:
On 08.01.2010 16:24, Mariano Martinez Peck wrote:
Thanks Henrik. However, I tried what you told me and still is ugly :(
Any idea?
Thanks
Mariano
http://code.google.com/p/pharo/issues/detail?id=1780
It fixes italic fonts of too narrow width, as well as bold italic versions being synthetically derived from italic/bold Fonts when a non-synthetic bold italic Font exists.
Cheers, Henry
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (7)
-
Adrian Lienhard -
Alain Plantec -
Alexandre Bergel -
Henrik Johansen -
Henrik Sperre Johansen -
Mariano Martinez Peck -
Stéphane Ducasse