Re: Problem : japanese-fonts (vlgothic-fonts-20090204-2.fc10)

2009-02-24 Thread Ben Laenen
On Tuesday 24 February 2009, AKanda wrote:
 Jens Petersen a écrit :
  I think the particular problem here under F10 is
 
  https://bugzilla.redhat.com/show_bug.cgi?id=485562

 Hello,
 In OpenOffice (for exemple), I have always written in Japanese with
 the default font (DejaVu Sans .)
 But in fact if I write with vlgothic it's good.

 Also, if I force the system with vlgothic is also good.

 The problem would be DejaVu Sans (think)

That would be very awkard since DejaVu doesn't have any CJK glyphs.

What's happening is that for your Sans font selection, it will get 
translated by rules in the fontconfig configuration files (basically a 
list of fonts telling what to use for Sans), and it chooses the first 
font in the list that's capable of showing the displayed script. So in 
your case it chooses DejaVu to display Latin, and when it encounters 
CJK glyphs, fontconfig has no idea whether it's Chinese or Japanese, 
and so selects the first font in the list with the necessary glyphs, 
and that's a Chinese font.

The solution is to move your VLGothic font above the Chinese font in 
that list.

Greetings
Ben

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


Re: Help request about hinting dev (Liberation Fonts).

2009-02-09 Thread Ben Laenen
On Monday 09 February 2009, Caius kaio Chance wrote:
 - Is there anyone in fedora community who could provide helpful info
 on how to manage a high quality hinting?

Well, I'm not from the fedora community, but I've got experience from 
the hinting in the DejaVu fonts.

 - Which free hinting tools are available other than fontforge?

Tools and documentation are listed at 
http://www.dejavu-fonts.org/wiki/index.php?title=Hinting

About xgridfit: I'm not really a fan of it. I think it may be usable for 
hinting completely new fonts, but I wouldn't start using it on an 
existing font.

My hinting work is basically only done with the help of fontforge and 
gwaterfall.

 - Where could I find resources of hinting instructions? Precisely,
 full specs of hinting instructions, such as parameter explanation of
 all hinting instructions

You'll have to go through that documentation mentioned on the page 
above. The hinting tutorial on that page which I started myself once 
never really got far, but it can give some idea.

 - If a CVT table has no comments on each value, do I have to do
 reverse engineering and how should I begin?

Yes, you'll have to do some reverse engineering. It takes a considerable 
amount of time, since you basically have to read the hinting of a lot 
of glyphs.

Your goal is to get a table of values you may encounter in normal glyphs 
(and that for each style). 
http://www.dejavu-fonts.org/wiki/index.php?title=Control_Value_Table 
lists it for DejaVu and many fonts have values for the same things in 
their CVT so gives an idea what to expect in Liberation.

There are usually many values in the CVT that don't really matter to you 
if you just want to hint some glyphs.

 As Mailhot's previous emails on new font packaging guidelines, he
 often let us refer to Dejavu Fonts. I am wondering if I could catch
 up any of Dejavu devs who don't mind kindly provide valuable info of
 hinting?

Here we go then :-)
When I'm online, find me at #dejavu or ##fonts on IRC if you have 
questions.

Ben

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


Re: Help request about hinting dev (Liberation Fonts).

2009-02-09 Thread Ben Laenen
On Monday 09 February 2009, Caius Chance wrote:
  Tools and documentation are listed at
  http://www.dejavu-fonts.org/wiki/index.php?title=Hinting
 
  About xgridfit: I'm not really a fan of it. I think it may be
  usable for hinting completely new fonts, but I wouldn't start using
  it on an existing font.

 Could I know the reason why?

Basically because it never convinced me it actually would make things 
easier and wouldn't just add an extra layer of complexity and 
compatibility issues.

  My hinting work is basically only done with the help of fontforge
  and gwaterfall.

 If you are available, it would be fantastic if you briefly tell me in
 10 -15 steps?

What do you want to know exactly?

Ben

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


Re: Help request about hinting dev (Liberation Fonts).

2009-02-09 Thread Ben Laenen
On Monday 09 February 2009, Caius Chance wrote:
 Ben Laenen さんは書きました:
  On Monday 09 February 2009, Caius Chance wrote:
  My hinting work is basically only done with the help of fontforge
  and gwaterfall.
 
  If you are available, it would be fantastic if you briefly tell me
  in 10 -15 steps?
 
  What do you want to know exactly?

 My previous experience was trying to fix hinting problems, I went
 into hinting instruction window of a glyph. Then looked at the
 hinting instructions and see if there are any problems.

 I am wondering about what extra you have done to a font, rather that
 just modifying hinting instructions.

You want a list of everything I've done with a font so far? :-p

In respect to hinting in DejaVu the only things you can really do is 
editing existing instructions and creating new ones for the new glyphs. 
Over the time CVT values were added, the fpgm table was altered etc.

After editing it's just a matter of testing it out -- you can do that 
within FontForge itself (grid fit), and then check in gwaterfall if 
there's not a weird problem at some size.

Only the first person who wants to work on the hinting needs to do some 
work to know what the important CVT values are, and that's basically 
reading the existing instructions and write down which values are used 
where. It's usually pretty straightforward (if it moves a point on the 
right side of the stem of I horizontally when the reference point 0 
is a point on the left side of that stem, then you know it's the 
horizontal stem width). But that requires understanding of the 
instructions of course (I don't know how much you know about it, 
http://www.dejavu-fonts.org/wiki/index.php?title=Hinting_tutorial/Example:_Hinting_L
 
should give you the real basics if you're completely new).

For hinting that's it really. I don't know what more you're expecting?

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


Re: arial narrow is broken since Fedora 8

2008-12-10 Thread Ben Laenen
On Wednesday 10 December 2008, Behdad Esfahbod wrote:
 That has nothing to do with why the bug is there.  The bug is there
 because no one every got to fix it.  Part of the problem has been
 that I have no Free fonts installed that show that behavior.

When it comes to font styles, this should give you a test case:
http://home.sus.mcgill.ca/~moyogo/fonts/test/Jaja-All-OTF.zip
(more at http://home.sus.mcgill.ca/~moyogo/fonts/test/ )

I'd like to see a KDE or Gnome dialog capable of showing all 62 
(including outlines) :-)

Ben

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


Re: Analysis of combining diacritics support

2008-07-23 Thread Ben Laenen
On Tuesday 22 July 2008, Vasile Gaburici wrote:
 - DejaVu has positioning issues

The positioning issue you see is likely a problem that T doesn't have a 
cedilla anchor in Serif. Normally an easy fix.

That's why renderers should have fall-back options (like Qt has). 
Usually these fall backs will give less optimal results, but a lot 
better than nothing at all.

 Given that commercial fonts suck at this, I suspect we won't see the
 combing method used often. Not for Romanian anyway. It seems however
 that adding diacritics to arbitrary letters is useful in Dutch,
 according to this post anyway:
 [http://www.typophile.com/node/2764#comment-99219]

Well, we would need them only in one rare case (when we emphasize 
the ij sound, like íj́ ) As a result the accent on the j is usually 
dropped, so it becomes íj, but official spelling rules want both 
accents.

Anyway, there are many languages with Latin script that are much worse 
of (a lot of African languages for example), since combining diacritics 
are needed in an awful lot of other languages. Because font foundries 
select their character sets based on the market demand, they don't see 
a lot of merit in adding glyphs and features that are only needed 
there.

So, that's basically something we should exploit with free/open fonts, 
to give us the lead in these areas.

Greetings
Ben

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


Re: Adobe FDK under wine? Or similar FOSS tool?

2008-07-21 Thread Ben Laenen
On Sunday 20 July 2008, Vasile Gaburici wrote:
 Editing OpenType feature tables with fontforge is a big PITA. Adding
 a locl table to Linux Libertine, see
 [https://fedoraproject.org/wiki/L10N/Tasks/Ro_fonts#Linux_Libertine],
 took me three hours (testing included). And that just for the regular
 font. Parts of the table are (or rather should be) common between
 files, but fontforge doesn't support that, so I have to start over
 for the bold and italic!

I guess you just need to be used to how FontForge handles OpenType? I 
don't think it looks that hard to do. It used to be much harder as well 
before George completely redid OpenType handling :-).

But true, you need to be familiar with lookup tables, while I guess you 
just want to be able to select a glyph, and click some buttons saying: 
I want feature locl for languages latn{ROM} and latn{MOL} and 
substitute it with glyph X. And actually, it already works like that, 
if you made the lookups and lookup subtables. It only makes sense to 
put these together in tables like that. If you have a list of glyphs 
you substitute in certain languages and suddenly think you need one 
other language you don't have to change all previous lookups, just 
change the language list in the data.

btw, there is a Copy lookup data entry in the FontForge edit menu 
that could ease the pain having to redo everything for each font.

Greetings
Ben

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