Edit

kc3-lang/harfbuzz/src/hb-directwrite.h

Branch :

  • Show log

    Commit

  • Author : Ebrahim Byagowi
    Date : 2019-08-21 03:02:01
    Hash : 2a3d4987
    Message : Remove hb_directwrite_shape_experimental_width public API I had specially exposed the API as I didn't know how to embed harfbuzz easily elsewhere but now with harfbuzz.cc it has become very easy and I don't like to see its use anywhere as it has a bad naming and its Kashida adding is bogus and only useful to check where it should be added, not visually useful however.

  • src/hb-directwrite.h
  • /*
     * Copyright © 2015-2019  Ebrahim Byagowi
     *
     *  This is part of HarfBuzz, a text shaping library.
     *
     * Permission is hereby granted, without written agreement and without
     * license or royalty fees, to use, copy, modify, and distribute this
     * software and its documentation for any purpose, provided that the
     * above copyright notice and the following two paragraphs appear in
     * all copies of this software.
     *
     * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
     * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
     * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
     * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
     * DAMAGE.
     *
     * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
     * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
     * FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
     * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
     * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
     */
    
    #ifndef HB_DIRECTWRITE_H
    #define HB_DIRECTWRITE_H
    
    #include "hb.h"
    
    HB_BEGIN_DECLS
    
    HB_EXTERN hb_face_t *
    hb_directwrite_face_create (IDWriteFontFace *font_face);
    
    HB_EXTERN IDWriteFontFace *
    hb_directwrite_face_get_font_face (hb_face_t *face);
    
    HB_END_DECLS
    
    #endif /* HB_DIRECTWRITE_H */