How does the whole font system in MorphOS work?
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    connor
    Posts: 570 from 2007/7/29
    Can someone please explain how fonts in MOS work? It is confusing me.
    In system preferences I can choose fonts from the directory
    System:MorphOS/Fonts. These are system fonts. So I see no way to add the
    fonts from my personal drawer like sys:fonts to the list in a font
    requester. Also, although Ambient can use TTF fonts the directories in
    System:MorphOS/Fonts like _ttf and so on do not seem to be considered for
    font selection because those fonts do not appear in the font requester for
    "other texts".

    Then there is Scribble which has a checkmark in the settings for "use
    TTEnigine" which is the system standard for TTF as far as I understood. So
    why is there a checkmark to enable it? And what does it really do? When I
    click on the font selection before and after the checkmark is set the font
    list is the same in both attempts. What should be the difference? Where is
    the font for "Output" used instead of "Editor"? And how can I tell it to
    use fonts from another directory? The problem is that I can copy text from
    another language to Scribble window but then I only see rectangles because
    I can not change the font to one that has these characters.

    Then there is OWB. It uses the fontconfig mechanism. How does this work and
    for which programs? It is said that I can add an own directory to the font
    directory list in fonts.conf file. But this contains many directories
    which are all not used in Ambient, MUI, Scribble, OWB ...

    <!-- Font directory list -->

    <dir>SYS:Fonts/_pcf</dir>
    <dir>SYS:Fonts/_pfb</dir>
    <dir>SYS:Fonts/_ttf</dir>
    <dir>MOSSYS:Fonts/_pcf</dir>
    <dir>MOSSYS:Fonts/_pfb</dir>
    <dir>MOSSYS:Fonts/_ttf</dir>
    <dir>SYS:Fonts</dir>

    There are many fonts inside these directories which do not show up in font
    requesters.

    Altogether there are 3 fontconfigs:
    System:MorphOS/Fonts/Fontconfig
    System:Fonts
    System:Applications/OWB/Conf/font

    So although there are system settings and user settings there still have
    to be program individual settings?

    Then in OWB in the preferences fonts I *really* can set a font from my
    list of sys:fonts. But size and font type are set separately, not like in MUI
    and other settings together. Why is it separated?
    And on next update of OWB the settings of fontconfig become overwritten so
    I always have to configure it again to use my fonts in sys:fonts.

    And then there is another font drawer with fonts.conf in the OWB drawer.
    This seems to be no more in use but it uses another setting. Why this and
    not the system setting or the MUI setting?

    Then there is the font requester itself. It has names for font collections
    and I can add a new one. But then nothing happens, so how and why should I
    add something there? It can be found in sys:fonts_collections but what to
    do
    with them? In the font requester I can add a collection but not assign
    fonts to it or do something else so what is the use of defining a
    collection there?
    Then the collection also has a number column. This must be "#" instead
    because it is the amount and not an ordering number.
    Then there are styles for the fonts. One of them is "Normal". What is
    normal other than nothing special is selected? And why are these styles
    only possible in MUI font settings but not in Ambient or Scribble
    settings?

    Also, there is System:Tools/FTManager. It says it installs fonts. Why is
    it needed to "instalL" a font and not just copy it to the fonts: directory?
    does it more than copy the file there? Because the destination path fonts:
    is already in the fonts.conf file. Also, as far as I see it lists all
    files
    from System:MorphOS/Fonts. So it offers to install them to Sys:Fonts, is
    that right? What is the use of this operation because they are already in
    the system drawer.

    FTManager cna show previews of the fonts but only a very small one with a
    few characters. Can this be set bigger to display more or all characters
    of a font? And can it read fonts from other directories, too? Currently it
    onyl shows the system directory.

    And there is the Keystroke utility which shows some shortcuts to enter some
    characters but only for one fixed font (which one?) and only for the first
    few characters. Can it show the same for all characters in a font? How can
    I do that?

    So all this font topic in MOS is very much confusing because there are so
    many different ways for settings and most of them are not documented. Can
    someone please clarify this?
  • »05.06.15 - 15:25
    Profile