|
From: boyer <bo...@ir...> - 2019-01-05 12:26:38
|
Hi I just took a copy of the dejavusans ttf font, opened if with a 2014 version of FontForge, copied the combining diaeresis above with its marks and anchors (select the box showing the glyph and use copy) and pasted it in the box for the character 0xE000. I saved the modified font as ttf and installed it on my mac. I then modified a keyboard so that when I type the backquote, I get the character 0xE000. I then just typed a few letters followed by U+E000 using the modified font. I did not make extensive checks but is seems to me that the marks and anchors of that new character are properly taken into account by textedit even if it is not in eh CMD area. Michel > On Jan 5, 2019, at 1:56 AM, Gé van Gasteren <gev...@gm...> wrote: > > Michel, > > I think using slots in the CDM Supplement Block is a good idea in the given situation. > There’s nothing sinful to it, but of course David’s font (and entry method for it) would not be compatible with anything else. > Meaning that, to share documents with others, he would have to either save them as PDF with his font embedded, or send the font along. > > When I look at this Unicode range in my browser, there are quite some slots that show a "glyph not found" marker with the Unicode number in a square. Those code points David should probably avoid, as they seem not to be supported very widely yet. At least the first 16 look safe: U+1DC0 through U+1DCF. > > Then the section about anchor points in the given link would be important reading, yes. > The text is misleading though, because it suggests that anchor points are just handy things within Fontforge. > It also doesn’t mention mark-to-mark anchor points, which will be needed if David’s font needs to "stack" CDMs, like this: ǎ̃̄ > > As a last point, I have a slight doubt whether CDM behavior might be script dependent or even language dependent, so some experimenting is wise. Good luck! > > On Sat, 5 Jan 2019 at 05:25, boyer <bo...@ir... <mailto:bo...@ir...>> wrote: > Would it not be possible (if not too sinful) to use the Combining Diacritical Marks Supplement <https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_Supplement> as some form of "private area" for diacritical marks? > > Michel > >> On Jan 4, 2019, at 10:33 PM, Gé van Gasteren <gev...@gm... <mailto:gev...@gm...>> wrote: >> >> David, >> I’m also confused about what you’re looking for… but let’s try. >> >> Unicode has two kinds of (separate) diacritical marks: spacing and combining. So any font editor that lets you work with the Unicode slots for the combining diacritical marks (CDMs) will suffice. >> >> When you type text using the created font, the OS or the application program recognizes a CDM from its Unicode number and will treat it accordingly, that is, it will position it on the previous character (which I call the "base character") with the help of so-called anchor points defined in that base character’s glyph in your font. >> >> But from your very last sentence, it seems you want to go beyond Unicode and create non-standard CDMs. You can put them in the Private-Use Area, but that means that the above positioning mechanism doesn’t work, as your character isn’t recognized as a CDM. >> So the best you can do for those is to either 1. position the glyph "averagely", so it looks more or less OK with all intended base glyphs, or 2. create several glyphs for each CDM, each positioned to look good with one or more intended base glyphs. For example, you could have one version for upper-case letters and one for lower-case >> Which of these options you choose (or, to state it more generally: how many glyph versions of each "CDM" you want to create) will depend on how important is ease of use versus typographic quality. >> >> On Sat, 5 Jan 2019 at 00:45, David Myers <dp...@ho... <mailto:dp...@ho...>> wrote: >> Hello. >> >> Unicode has glyphs that consist of a primary character and a diacritic that is combined with it, but Unicode also has separate encodings for the primary characters and for the diacritics so that, in theory, the individual diacritics serve as combing diacrical marks which can join onto any other Unicode character. >> >> My questions are: How do I create a diacritical mark so that it will join in the same basic manner to any primary character that is typed before it? If I want to add one to the Private Use Area, how could I achieve this combining effect so that it will come out properly when typing in the finished font? Is this possible? I have been using a font application called BirdFont, and the creator seems to be under the impression there is not a way to do this already, at least not in his program. However, he may be confused about what I am looking for. Could anyone advise me on whether this is possible, and if so, how? Much of my font will depend on creating effective combining diacritical marks not represented in Unicode already, so this would be greatly appreciated! >> >> Thanks in advance, >> >> David Myers >> >> _______________________________________________ >> fontforge-users mailing list >> fon...@li... <mailto:fon...@li...> >> https://lists.sourceforge.net/lists/listinfo/fontforge-users <https://lists.sourceforge.net/lists/listinfo/fontforge-users> >> http://fontforge.10959.n7.nabble.com/User-f8781.html <http://fontforge.10959.n7.nabble.com/User-f8781.html>_______________________________________________ >> fontforge-users mailing list >> fon...@li... <mailto:fon...@li...> >> https://lists.sourceforge.net/lists/listinfo/fontforge-users <https://lists.sourceforge.net/lists/listinfo/fontforge-users> >> http://fontforge.10959.n7.nabble.com/User-f8781.html <http://fontforge.10959.n7.nabble.com/User-f8781.html> > _______________________________________________ > fontforge-users mailing list > fon...@li... <mailto:fon...@li...> > https://lists.sourceforge.net/lists/listinfo/fontforge-users <https://lists.sourceforge.net/lists/listinfo/fontforge-users> > http://fontforge.10959.n7.nabble.com/User-f8781.html <http://fontforge.10959.n7.nabble.com/User-f8781.html>_______________________________________________ > fontforge-users mailing list > fon...@li... > https://lists.sourceforge.net/lists/listinfo/fontforge-users > http://fontforge.10959.n7.nabble.com/User-f8781.html |