Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add new advanced text api (D2D1 + DWrite back-end only) #17

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Feb 16, 2019

  1. init.c: Refactor.

    We need to redo the initialization because WinDrawLib interface modules
    do not match 1:1 to the implementation modules, from now on.
    
    In particular, with the D2D1 back-end, we use DWrite both for the string
    API and (new not yet implemented) advanced text API.
    
    The reason for disntinguishing string and text API is that later, we
    shall likely implement the text API also for GDI+ back-end using
    Uniscribe, but the simple string API does not need to load it.
    mity committed Feb 16, 2019
    Configuration menu
    Copy the full SHA
    b388b2d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11055bd View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2019

  1. Configuration menu
    Copy the full SHA
    41f6874 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2019

  1. examples/draw-cached.c: Improve the effect of caching.

    The cached canvas retains the painted contents; so we can skip all the
    painting (as long as we need to paint the stuff dfferently).
    mity committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    a8c133d View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2019

  1. Add wdMinimalTextWidth().

    mity committed Mar 17, 2019
    Configuration menu
    Copy the full SHA
    4d0d99b View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2019

  1. Add support for justified paragraphs.

    Note it is really supported only in DWrite backend on Windows 8 and
    newer. If not supported, it falls back to left alignement.
    mity committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    5eaca3c View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2019

  1. Add wdSetTextFamily().

    mity committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    6e83886 View commit details
    Browse the repository at this point in the history