Code Monkey home page Code Monkey logo

feax's People

Contributors

bobh0303 avatar devosb avatar jvgaultney avatar mhosken avatar n7s avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

feax's Issues

What is this "fixedclasses" code about?

@mhosken,

In read_classes() which, as you know, is used to read and process a classes.xml file, there is this code:

class_name = c.get('name')
m = re.search('\[(\d+)\]$', class_name)
# support fixedclasses like make_gdl.pl via AP.pm
if m:
class_nm = class_name[0:m.start()]
ix = int(m.group(1))
else:
class_nm = class_name
ix = None
cl = self.classes.setdefault(class_nm, [])
for e in c.get('exts', '').split() + [""]:
for g in c.text.split():
if g+e in self.glyphs or (e == '' and g.startswith('@')):
if ix:
cl.insert(ix, g+e)
else:
cl.append(g+e)
if not classproperties:

Line 105 seems to be trying to recognize classnames such as someclass[3], i.e., the name of a class followed by an index.

I might have seen that kind of thing in an Attachment Point database after "adding" a classes.xml that includes "fixed" classes (see where this was added). But I've never seen it within actual classes.xml files, which is what this code is reading. Do you have examples?

Am I missing something?

I would think, if anything, this code might be looking for the fixed attribute on the class, but for FEA rules the glyphs are already kept in the order they are written in the code (rather than sorted by numeric glyphID like GDL does).

"Great Ya" -> "Medial Ra"

The documentation refers to Myanmar Great Ya. But the example is about U+103C, which is medial ra.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.