Code Monkey home page Code Monkey logo

Comments (2)

gimsieke avatar gimsieke commented on May 19, 2024

There has been a commit 4 months ago, 862d666, that introduced a mapping for 00E0. Don’t trample on other people’s delicately maintained mappings that are used in production, without providing a bridge to keep existing mappings.

from docx2hub.

mkraetke avatar mkraetke commented on May 19, 2024

There was neither a comprehensive nor a delicately maintained mapping. The Wingdings file just consisted of 46 characters and I wonder myself why there existed a 0000 range mapping for the LEFTWARDS ARROW but not for other arrows. This looks more like a quick and dirty job and not a well-conceived approach. Previously, these were ALL existing zero range mappings:

<symbol number="004A" entity="J" char="&#x263A;" font="Segoe UI Symbol"/><!-- happy smiley -->
<symbol number="004C" entity="L" char="&#x2639;" font="Segoe UI Symbol"/><!-- sad smiley -->
<symbol number="0061" entity="&#x0061;" char="&#x264B;"/><!-- CANCER -->
<symbol number="006E" entity="" char="&#x25a0;"/><!-- BLACK SQUARE -->
<symbol number="006F" entity="o" char="&#x25A1;"/><!-- WHITE SQUARE -->
<symbol number="00E0" entity="&#x00E0;" char="&#x2192;"/><!-- RIGHTWARDS ARROW -->
<symbol number="0072" entity="&#x0072;" char="&#x2610;"/><!-- BALLOT BOX -->
<symbol number="003F" entity="&#x003F;" char="&#x2794;"/><!-- Heavy wide-headed rightwards arrow -->
<symbol number="00E8" entity="&#x00E8;" char="&#x2794;" font="Segoe UI Symbol"/><!-- Heavy wide-headed rightwards arrow -->
<symbol number="0AEA" entity="&#x0AEA;" char="&#x2794;"/><!-- Heavy wide-headed rightwards arrow -->

Instead I generated a new configuration where every character has a zero range mapping like this:

<!--WIDE-HEADED RIGHTWARDS BARB ARROW-->
<symbol number="F0E0" entity="&#xf0e0;" char="&#x1f86a;"/>
<symbol number="00E0" entity="&#xf0e0;" char="&#x1f86a;"/> 

Updated with this commit c59acc9

from docx2hub.

Related Issues (17)

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.