I suppose not but I am not sure what you mean by TTF support.

TeXmacs has no problem reading in TTF format files because the
underlying library, FreeType, can read TTF format files. The problem
is that TeXmacs expects the TTF to be encoded in a non-standard way.
The encoding is not ASCII and it's not Unicode-based, but is based on
TeX. I think there is already some support for reading in Unicode
encoding.

Additionally, TeXmacs needs to metrics information in order to do
layout. I believe that TFM (TeX Font Metric) files are needed for
this. Metrics information is contained in TTF files but it's not in
the format TeXmacs expects.

A user who has some regular TTF or OTF fonts installed on their system
may want to use them in their TeXmacs documents. Even though this is
reasonable, currently, I think this is not possible or poorly
supported.

My work just adds some additional built-in fonts. It doesn't let users
use regular TTF fonts directly.

Alex

On Mon, Nov 7, 2011 at 3:07 AM, Sam Liddicott <s...@liddicott.com> wrote:
> Does your work add ttf support?
> Sam
>
> On Mon, Nov 7, 2011 at 8:09 AM, Aleksandr Dobkin <adob...@gmail.com> wrote:
>>
>> Thanks for the feedback. It's great to hear some other people are
>> using the fonts.
>>
>> Are you using the PFB files with mainline TeXmacs or the OTF files
>> with patched TeXmacs?
>>
>> The OTF (OpenType) files are newer than the PFB (Printer Font Binary)
>> files and are a bit more complete.
>>
>> Here is a comparison:
>>
>> TeXmacs mainline
>> http://dl.dropbox.com/u/384906/texmacs-fonts/sample-mainline.pdf
>> TeXmacs mainline with PFB fonts
>> http://dl.dropbox.com/u/384906/texmacs-fonts/sample-mainline-pfbfonts.pdf
>> TeXmacs patched http://dl.dropbox.com/u/384906/texmacs-fonts/sample2.pdf
>>
>> The motivation for the git fork is so to have the latest TeXmacs but
>> with the additional fonts and Qt font rendering. Previously, I had to
>> use an increasingly outdated version.
>>
>> So if you are already using the patched TeXmacs with OTF files, the
>> fork gives access to the latest TeXmacs version but doesn't change
>> much else. If you are using mainline TeXmacs with the PFB files, using
>> the OTF files would give you a more complete character set and
>> improved onscreen font rendering.
>>
>> I believe that the old situation is that TeXmacs had to rasterize
>> fonts into bitmaps before it could show them onscreen. It had to do
>> this separately for each point size. This operation happens at
>> start-up and can take a long time. The Qt version should not need to
>> do this at all. As far as displaying things on screen, Qt may be
>> faster but it will not likely make a huge difference because the
>> number of characters that are displayed onscreen at any time stays
>> constant even as the document size grows. If you are using Linux, you
>> may want to try -graphicssystem raster. I think there are optimization
>> that can be made with regard to the rendering as a whole that can help
>> improve performance, but I haven't made any such changes.
>>
>> In my experience TeXmacs is generally very speedy. If you have a
>> specific specimen that you can post, I think it would be helpful.
>>
>> Alex
>>
>>
>> On Mon, Nov 7, 2011 at 12:54 AM, Alvaro Tejero Cantero <alv...@minin.es>
>> wrote:
>> > Thank you Aleksandr for providing this extended font support. I am
>> > currently happily using your freefont package for my PhD thesis (with
>> > Times). Does the new git fork improve on the typesetting with respect
>> > to the package, or is it just on-screen rendering? (I have to be
>> > conservative at this moment).
>> >
>> > And, as a curiosity - does QT font rendering make TeXmacs faster?
>> >
>> >
>> > -รก.
>> >
>> >
>> >
>> > On Mon, Nov 7, 2011 at 02:49, Aleksandr Dobkin <adob...@gmail.com>
>> > wrote:
>> >> I would like to announce that I finally updated my TeXmacs fork on
>> >> Gitorious. The primary changes over mainline TeXmacs is the inclusion
>> >> of additional built in fonts, primary a Time work-alike based on GNU
>> >> FreeFont, and high-quality rendering using Qt.
>> >>
>> >> The motivation is that I really don't like the Computer Modern font
>> >> which is the default in TeXmacs, but I like Times. There is some
>> >> support for a Times-like font already, but kerning is bad, ligatures
>> >> don't work, and math mode doesn't work. So I put in good support for
>> >> Times including good kerning, ligatures, and math support.
>> >>
>> >> Also, the font rendering is TeXmacs is not very good. I replaced this
>> >> with native OS rendering via Qt.
>> >>
>> >> The fork is available at
>> >>
>> >> https://gitorious.org/~adob/texmacs/texmacs-otf
>> >>
>> >> Please check it out.
>> >>
>> >> Font files have been added to the TeXmacs/fonts so no further action
>> >> beyond make; make install is required. I intend to maintain an
>> >> up-to-date fork by merging from mainline TeXmacs periodically.
>> >>
>> >> Sample output: http://dl.dropbox.com/u/384906/texmacs-fonts/sample2.pdf
>> >> Sample source: http://dl.dropbox.com/u/384906/texmacs-fonts/sample3.tm
>> >>
>> >> Alex
>> >>
>> >> _______________________________________________
>> >> Texmacs-dev mailing list
>> >> Texmacs-dev@gnu.org
>> >> https://lists.gnu.org/mailman/listinfo/texmacs-dev
>> >>
>> >
>> > _______________________________________________
>> > Texmacs-dev mailing list
>> > Texmacs-dev@gnu.org
>> > https://lists.gnu.org/mailman/listinfo/texmacs-dev
>> >
>>
>> _______________________________________________
>> Texmacs-dev mailing list
>> Texmacs-dev@gnu.org
>> https://lists.gnu.org/mailman/listinfo/texmacs-dev
>
>
> _______________________________________________
> Texmacs-dev mailing list
> Texmacs-dev@gnu.org
> https://lists.gnu.org/mailman/listinfo/texmacs-dev
>
>

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to