Ligatures

I have a code in a plugin InDesign that traverses all glyphs in a font and extracts for the glyph unicode value by calling glyphUtils->GlyphToCharacter(font, glyph, & userAreaChar)

For most glyphs, it is a unicode value in telling me what character this glyph represents. I'm now working with the Devanagari fonts where there are many glyphs that are combinations of many characters unicode Devanagari Ligatures. Is it possible that I can do a reverse lookup to find out what unicode characters, when combined, produced this glyphID?

I have to use glyphUtils->GetOTFAttribute and browse to find what combination of result of unicode characters in a particular glyphID? And what settings should I use to GetOTFAttribute get the ligature table?

Hello

Have you had a look at:

SnpInsertGlyph::InsertGlyph

P.

Tags: InDesign

Similar Questions

  • @font-face missing in Firefox 15 ligatures

    I use a @font-face for my site, http://lunatorium.com/, and the ligatures fi and ff are not displayed to the top.

    This happened in the latest versions of Firefox and was corrected by adding - moz-font-feature-settings: "liga = 0; rule @font-face for policies affected, but since the upgrade to Firefox 15, which set no longer works. The solution is in place and the ligatures appear not, but ONLY 15 of Firefox. All other browsers are fine.

    The syntax has changed and is now 'liga' 0;

    -moz-font-feature-settings: "liga=0";
    -moz-font-feature-settings: "liga" 0;
    
  • Time missing ligatures in FF9

    Using once in a CSS, I discovered that FF9 makes the ligature 'ff', 'fi', 'ffi' in this font, omitting them completely - the word 'office' becomes 'eco' on the screen.

    I put to the top of the test page in the reference below, showing that the behavior.
    The page displays correctly with IE 8, Chrome 16, FF8, Opera 11.60, FF3.6.

    You have made a mistake with the order of the rules.

    If you use the property are then you set all the font properties, to ignore you - moz-font-feature-settings the rule of police following him.

    To avoid these errors, is always preferable to define all properties explicitly (font size, font family) and do not use generic police version.

    It should work if swap you the order.

    font: 0.9em MuseoSlab-500,Arial,Helvetica,sans-serif;
    -moz-font-feature-settings: "liga=0";
    
  • Anyone know how to disable the ligature of the letters in illustrator?

    Hello

    Since windows 10 installed itself,

    Arial font do the following:

    question.png

    Thank you :-)

    ily

    Your photo is for conditional Ligatures, and your answer is correct.

    Did you choose your text with the text tool as in the example of tone before unchecking conditional Ligatures? Maybe it's the step that you missed.

    Common ligatures found in the menu of the Panel, FYI.

  • Typekit poster bad ligatures

    When I use some Typekit fonts, they have a different appearance in MUSE online. Bookmania, for example, shows beautiful ligatures between capital and lower-case letters, and I use it for this feature. However, when I publish the page, ligatures are not as I wanted. Any ideas?

    Hi Christophe,

    Here is the answer that we talked by e-mail for the history of the forum:

    Muse does not support Discretionary ligatures like Th default, due to the limited support of browser. To include Discretionary ligatures in your site, two changes in Page Properties.

    (1) under Options: change the menu character set by default to all the

    (2) under the terms of metadata: Add this CSS custom for the HTML code "for"."section to turn on conditional ligatures in the site:"

    Then export the project as HTML, once again, and you will get the ligatures like "Th":

    This works in all desktop browsers, but not on iOS or Android:

    http://stateofwebtype.com/#discretionary%20Ligatures%20%28dlig%29

    Best,

    -liz

  • Can you turn off or get rid of ligatures in muse?

    Can you turn off or get rid of ligatures in muse?

    Ligatures are a CSS / presentation of fonts. Muse of all is to use the text in characters, the rest is totally dependent on what font you use and if the actual rendering of ligatures is enabled in your browser. It is more than something TypeKit, so this may enlighten you a bit:

    Typekit help | Using OpenType features

    Typekit help | Syntax for OpenType in CSS features

    Mylenium

  • Remove ligatures

    How to remove ligatures in Muse?

    Before ask you: Mac. 10.10.5 muse CC 2015. 5297 feet. Winds from the southwest at 5 mph.

    Hello Fhdave,

    I think the same is discussed in the link below.

    Muse ligatures can be disabled?

    Kind regards

    Vivek

  • Muse ligatures can be disabled?

    Trying to find where ligatures can be disabled, does not seem easy to find. Where is this?

    Hello

    The short answer is that Muse does not provide a direct way to disable ligatures. The long answer:

    • For web fonts (Typekit or edge Web Fonts), ligatures standard/common, if included in the police, cannot be disabled in Safari at all. See help Adobe Typekit: syntax for OpenType features in CSS. But you can exclude ligatures of the police themselves by choosing the option 'default subset' Web Font, the character set for the Page/Site Properties dialog box. But note that choose the default subset also affects supported language, is not a good choice if you need to support languages other than those of ISO / IEC 8859-1 - Wikipedia, the free encyclopedia
    • For system fonts (that export as images), it's not a way to exclude standard/common ligatures.

    Abhishek

  • How can I turn off ligatures in an entire document?

    I know that I can turn off ligatures in a story or a paragraph style, but is there a way to disable universally ligatures?

    Please and thank you!

    I use this script (made by Kasyan Servetsky)

    myDoc var = app.activeDocument;

    var myParStyles = myDoc.allParagraphStyles;

    for (i = 1; i< myparstyles.length;="" i++)="">

    myParStyles [i] .ligatures = false;

    myParStyles [i] .hyphenation = false;

    }

  • Remove some fonts ligatures if follow-up greater than 0

    I import files with certain fonts with follow-up set to different sizes. Some fonts with some ligatures do not work when monitoring is a value greater than 0 without first turning off the Standard Ligatures. I use a script that checks to see if these certain fonts are active and if yes then disable ligatures for this font.

    My knowledge of javascript is very basic and I have created this script from especially copy and paste and change things, I found in the guide to script. So, I'm sure that my code could use some better organize. I got it first with a bunch of cases identified and then discovered that I could use the | use multiple values so I thought this might be a better way to write it?

    I want to add another if the statement that first checks to see if these fonts have followed together whatever it is greater than 0, and if yes, then turn off ligatures, but if not keep as their market. They work a lot when the tracking is at 0 and I would like to be able to use them again instead of completely disable the.

    var docRef = app.activeDocument;
    
        for (var w = 0; w < docRef.textFrames.length; w++) {
            var textRef = docRef.textFrames[w];
            if ((textRef.textRange.characterAttributes.textFont == textFonts.getByName('Skitch')) ||
                (textRef.textRange.characterAttributes.textFont == textFonts.getByName('AmarelinhaBold')) ||
                (textRef.textRange.characterAttributes.textFont == textFonts.getByName('Amarelinha')) ||
                (textRef.textRange.characterAttributes.textFont == textFonts.getByName('Zalderdash')) ) {
                textRef.textRange.characterAttributes.ligature = false;
            }
        }
    
    redraw();
    
    
    

    Again, I am very new to javascript, but I think that this should be a fairly simple addition? I honestly don't know even if the redraw(); is it necessary? Finally, I want to add to another script to import.

    Thanks for your time!

    It's ok, to optimize well enough, you can make a variable of any object that is called repeatedly, for example characterAttributes, moreover, there is that one way to know if you must redraw(), remove it and if you see that your code works, then it is not necessary

    var docRef = app.activeDocument; 
    
    for (var w = 0; w < docRef.textFrames.length; w++) {
        var textRef = docRef.textFrames[w];
    
        var charAttributes = textRef.textRange.characterAttributes;
        var textfont = charAttributes.textFont;
    
        if ((textfont == textFonts.getByName('Skitch')) ||
            (textfont == textFonts.getByName('AmarelinhaBold')) ||
            (textfont == textFonts.getByName('Amarelinha')) ||
            (textfont == textFonts.getByName('Zalderdash')) ) {
            if (charAttributes.tracking >= 1) {
                charAttributes.ligature = false;
            }
        }
    }
    
  • Is there a way to automatically disable ligatures?

    Hey all,.

    Does anyone know how to automatically disable ligatures in InDesign CC?

    We use IDS to work, but it's usually sell sheets and brochures, which are two documents you would rarely (if ever) want ligatures.

    I know that you can turn them off at the scale of the document, but I would rather start the program with them...

    You might be able to call it is lazy, but for the sake of argument I'll call her 'effective '.

    Thanks in advance!

    K

    Ligatures are designed to look better that ugly glyph collisions that are common, when they are not using, so I'm curious to know why you say you wouldn't sell them leaves or prospectus.

    Change the default value for new files to turn them off with no open files.

  • Broken in CS6 OpenType ligatures

    I have a font OpenType of "attached". I used it for years in CS4 (InDesign and Illustrator). I just upgraded to CS6 and some ligatures do not work, i.e. upper-case initial do not connect unless the first word on a line or after a comma or a period. This worked very well in CS4 works fine in Word I checked it on my Windows machine and Mac. friend the problem is the same on the whole. Does anyone know how to fix this? Thank you!

    Check the settings of substitution of relevant glyphs on the pallets the text-centric and also check the paragraph styles and all that...

    Mylenium

  • Ligature characters missing fonts

    I have some pdf in which "ligature" fonts are missing: I see correctly "ff" and "ffi" characters appear in the pdf, but if I copy and paste text (or extract the text using the SDK) there is no "ffi", "ff" characters (with copy - paste one see a square instead of the characters).

    I do not generate the pdfs by myself, so I do not know the generation process.


    My doubt is: I can see correct characters even if the text is bad, why? Is there a way to extract the right text?

    If I make a pdf-> ps-> pdf conversion, the missing characters problem is fixed. I can copy and paste text, and I see fonts correct ligature characters. How can this be possible?

    Thanks in advance

    OK, this means that the application that generated the PDF file you added ligatures them as extra characters to the police in an aid station and that it has not added a ToUnicode CMap, which would be necessary for accurate extraction.

    You can check that the correct extraction is not possible using the UI: try just a copy/paste of the text.

  • Ligatures and the letter Q

    When you use the font 'Garamond Premier Pro', why did when I type a word that begins with the letter 'Q', the Q has a very long tail on this subject? For example, when you type the word 'Quality', the tail of the Q extends all the way to the "a". This would be a matter of ligature?

    No, it's called a 'background replacement '; It is working as expected. Disable it in the OpenType menu.

  • Form ligatures automatically?

    Assuming that the police take over and the pair of good character is typed in? Such as FF, FT.

    I use Garamond Pro family, but there are others where I would form ligatures.

    (in other words, this keyboard requires entry?)

    It depends on several things:

    -made automatic ligatures to request support?

    -the police have ligatures in question?

    ligatures-ligatures 'standard' in question, or are they perhaps discretionary or historical ligatures? These types must be turned on, while the former should be on by default in sophisticated applications.

    When you say 'Garamond Pro' are you referring to Adobe Garamond Pro and Garamond Premier Pro? (Both are Adobe).

    Nor has cap FF and FT ligatures, but both have "ff" and they could all have 'ft' (I have to check.)

    Kind regards

    T

Maybe you are looking for

  • Family sharing - cryptic guests

    So I implemented a family sharing. Can I download music to my wife - that works very well, but when she tries to download music purchased from my account she gets this unintelligible prompt. A google search revealed situations very complicated - my s

  • Satellite Pro L500-1W4: win 8 cannot turn on WiFi

    Hello I installed 8 64-bit Windows on my Toshiba Satellite Pro PSLSAE L500-1W4Previously, I had Windows 7 64-bit on After the installation of Windows 8, I am unable to turn the WiFi on my PCBut the driver for my wireless card (WLAN 802.11n Realtek RT

  • Compaq Presario turns on but not start

    Product: HP Compaq PresarioModel: SR5250NXOS: Windows Vista Symptoms: When you press the power button, all the lights come on as expected. However, a slight popping noise that sounds as if it is coming from the hard drive will ensue. The monitor, mou

  • How can I activate the sound

    I recently downloaded rockbox and my sound does not work so I uninstalled everything, but my sound still does not work. I have a sansa e250. I returned and deleted alll these settings my mp3 rockbox. So still I donot have sound. I tried reseting my s

  • How can I get a DOS window?

    I accidentally pushed an e-mail on the right side of the screen to look at another window. How can I get it back?