[APPLICATIONS/SYSUTILS] Add a font substitutes editor. Patch by Katayama Hirofumi MZ. CORE-12749 #resolve #comment Thanks!

svn path=/trunk/; revision=74187
This commit is contained in:
Mark Jansen 2017-03-18 13:01:18 +00:00
parent 5d11d1699c
commit fd3b70fc42
13 changed files with 2408 additions and 0 deletions

View file

@ -1,5 +1,6 @@
add_subdirectory(chklib) add_subdirectory(chklib)
add_subdirectory(ctm) add_subdirectory(ctm)
add_subdirectory(fontsub)
add_subdirectory(gettype) add_subdirectory(gettype)
add_subdirectory(kill) add_subdirectory(kill)
add_subdirectory(logevent) add_subdirectory(logevent)

View file

@ -0,0 +1,16 @@
# FontSub by Katayama Hirofumi MZ
#
# To the extent possible under law, the person who associated CC0 with
# FontSub has waived all copyright and related or neighboring rights
# to FontSub.
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
set_cpp(WITH_RUNTIME WITH_STL WITH_EXCEPTIONS)
add_executable(fontsubedit fontsub.cpp fontsub_res.rc)
set_module_type(fontsubedit win32gui UNICODE)
add_importlibs(fontsubedit advapi32 comctl32 comdlg32 shell32 gdi32 user32 msvcrt kernel32)
set_target_properties(fontsubedit PROPERTIES OUTPUT_NAME "fontsub")
add_cd_file(TARGET fontsubedit DESTINATION reactos/system32 FOR all)

View file

@ -0,0 +1,122 @@
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -0,0 +1,368 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="256"
height="256"
viewBox="0 0 256 256"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="fontsub.svg"
inkscape:export-filename="C:\Users\katahiromz\Desktop\fontsub2\fontsub.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="-96.950454"
inkscape:cy="-3.229257"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:snap-bbox="true"
inkscape:bbox-paths="true"
inkscape:bbox-nodes="true"
inkscape:snap-bbox-edge-midpoints="true"
inkscape:snap-bbox-midpoints="true"
inkscape:snap-intersection-paths="true"
inkscape:object-paths="true"
inkscape:object-nodes="true"
inkscape:snap-smooth-nodes="true"
inkscape:snap-midpoints="true"
inkscape:snap-object-midpoints="true"
inkscape:snap-center="true"
inkscape:snap-text-baseline="true"
inkscape:snap-page="true"
inkscape:snap-global="true"
inkscape:window-width="1366"
inkscape:window-height="705"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
units="px" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="レイヤー 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-796.36219)">
<g
id="g4467"
transform="matrix(0.2822222,0,0,0.2822222,0,755.36218)">
<rect
y="362.76154"
x="2.6432549e-006"
height="689.60077"
width="907.08661"
id="rect4240-2"
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901" />
<rect
y="145.27559"
x="7.7024585e-015"
height="254.62881"
width="907.08661"
id="rect4240"
style="opacity:1;fill:#b1b1b1;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901" />
<rect
y="145.27559"
x="2.6432549e-006"
height="37.142868"
width="907.08661"
id="rect3336"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901" />
<rect
y="1015.2194"
x="2.6432549e-006"
height="37.142868"
width="907.08661"
id="rect3336-9"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901" />
<rect
transform="matrix(0,-1,1,0,0,0)"
y="0"
x="-1052.3622"
height="37.142868"
width="907.08661"
id="rect3336-9-4"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901" />
<rect
transform="matrix(0,-1,1,0,0,0)"
y="869.94373"
x="-1052.3623"
height="37.142868"
width="907.08661"
id="rect3336-9-4-9"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901" />
<rect
transform="matrix(0,-1,1,0,0,0)"
y="434.97186"
x="-1052.3623"
height="37.142868"
width="907.08661"
id="rect3336-9-4-8"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901" />
<rect
y="580.2475"
x="2.6432549e-006"
height="37.142868"
width="907.08661"
id="rect3336-9-4-8-9"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901" />
<rect
y="362.76154"
x="2.6432549e-006"
height="37.142868"
width="907.08661"
id="rect3336-9-4-8-9-9"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901" />
<rect
y="797.73346"
x="2.6432549e-006"
height="37.142868"
width="907.08661"
id="rect3336-9-4-8-9-9-0"
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901" />
<g
id="g4346">
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98"
width="147.08661"
height="37.142868"
x="-564.2475"
y="87.599564"
transform="matrix(0,-1,1,0,0,0)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1"
width="118.51518"
height="37.142868"
x="-206.11475"
y="-454.30377"
transform="scale(-1,-1)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1-8"
width="94.285751"
height="37.142868"
x="-181.88531"
y="-516.64795"
transform="scale(-1,-1)" />
</g>
<g
transform="translate(0,-2)"
id="g4351">
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-4"
width="85.427803"
height="37.142868"
x="-502.58875"
y="506.45667"
transform="matrix(0,-1,1,0,0,0)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1-6"
width="118.51518"
height="37.142868"
x="-624.97186"
y="-454.3038"
transform="scale(-1,-1)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1-8-7"
width="117.19617"
height="37.142868"
x="-623.65283"
y="-510.8382"
transform="scale(-1,-1)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-4-1"
width="72.800896"
height="37.142868"
x="-552.87671"
y="586.50995"
transform="matrix(0,-1,1,0,0,0)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1-6-6"
width="118.51518"
height="37.142868"
x="-623.65283"
y="-567.37256"
transform="scale(-1,-1)" />
</g>
<g
id="g4346-9"
transform="translate(0,217.11474)">
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-6"
width="147.08661"
height="37.142868"
x="-564.2475"
y="87.599564"
transform="matrix(0,-1,1,0,0,0)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1-5"
width="118.51518"
height="37.142868"
x="-206.11475"
y="-454.30377"
transform="scale(-1,-1)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1-8-8"
width="94.285751"
height="37.142868"
x="-181.88531"
y="-516.64795"
transform="scale(-1,-1)" />
</g>
<g
id="g4346-9-6"
transform="translate(0,434.22944)">
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-6-9"
width="147.08661"
height="37.142868"
x="-564.2475"
y="87.599564"
transform="matrix(0,-1,1,0,0,0)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1-5-2"
width="118.51518"
height="37.142868"
x="-206.11475"
y="-454.30377"
transform="scale(-1,-1)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1-8-8-5"
width="94.285751"
height="37.142868"
x="-181.88531"
y="-516.64795"
transform="scale(-1,-1)" />
</g>
<g
transform="translate(0,215.61916)"
id="g4351-9">
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-4-8"
width="85.427803"
height="37.142868"
x="-502.58875"
y="506.45667"
transform="matrix(0,-1,1,0,0,0)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1-6-7"
width="118.51518"
height="37.142868"
x="-624.97186"
y="-454.3038"
transform="scale(-1,-1)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1-8-7-3"
width="117.19617"
height="37.142868"
x="-623.65283"
y="-510.8382"
transform="scale(-1,-1)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-4-1-2"
width="72.800896"
height="37.142868"
x="-552.87671"
y="586.50995"
transform="matrix(0,-1,1,0,0,0)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1-6-6-4"
width="118.51518"
height="37.142868"
x="-623.65283"
y="-567.37256"
transform="scale(-1,-1)" />
</g>
<g
transform="translate(0,433.23832)"
id="g4351-1">
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-4-15"
width="85.427803"
height="37.142868"
x="-502.58875"
y="506.45667"
transform="matrix(0,-1,1,0,0,0)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1-6-64"
width="118.51518"
height="37.142868"
x="-624.97186"
y="-454.3038"
transform="scale(-1,-1)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1-8-7-9"
width="117.19617"
height="37.142868"
x="-623.65283"
y="-510.8382"
transform="scale(-1,-1)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-4-1-5"
width="72.800896"
height="37.142868"
x="-552.87671"
y="586.50995"
transform="matrix(0,-1,1,0,0,0)" />
<rect
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:10.90200043;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.50243901"
id="rect3336-9-4-98-1-6-6-6"
width="118.51518"
height="37.142868"
x="-623.65283"
y="-567.37256"
transform="scale(-1,-1)" />
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -0,0 +1,46 @@
/* FontSub by Katayama Hirofumi MZ
*
* To the extent possible under law, the person who associated CC0 with
* FontSub has waived all copyright and related or neighboring rights
* to FontSub.
*
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
#include <windef.h>
#include <winuser.h>
#include <dlgs.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Font Substitute Editor"
#define REACTOS_STR_INTERNAL_NAME "fontsub"
#define REACTOS_STR_ORIGINAL_FILENAME "fontsub.exe"
#include <reactos/version.rc>
/* UTF-8 */
#pragma code_page(65001)
1 ICON "fontsub.ico"
2 BITMAP "up.bmp"
3 BITMAP "down.bmp"
4 BITMAP "nil.bmp"
#ifdef LANGUAGE_EN_US
#include "lang/en-US.rc"
#endif
#ifdef LANGUAGE_JA_JP
#include "lang/ja-JP.rc"
#endif
1 ACCELERATORS
BEGIN
"O", ID_IMPORT, CONTROL, VIRTKEY
"S", ID_EXPORT, CONTROL, VIRTKEY
"N", ID_NEW, CONTROL, VIRTKEY
"L", ID_RELOAD, CONTROL, VIRTKEY
"U", ID_UPDATE_REGISTRY, CONTROL, VIRTKEY
END

View file

@ -0,0 +1,106 @@
/* FontSub by Katayama Hirofumi MZ
*
* To the extent possible under law, the person who associated CC0 with
* FontSub has waived all copyright and related or neighboring rights
* to FontSub.
*
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
/* UTF-8 */
#pragma code_page(65001)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
1 MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Import From...\tCtrl+O", ID_IMPORT
MENUITEM "&Export To...\tCtrl+S", ID_EXPORT
MENUITEM SEPARATOR
MENUITEM "Re&load from Registry\tCtrl+L", ID_RELOAD
MENUITEM "Update &Registry\tCtrl+U", ID_UPDATE_REGISTRY
MENUITEM SEPARATOR
MENUITEM "Open in Reg&edit", ID_OPEN_REGKEY
MENUITEM SEPARATOR
MENUITEM "E&xit\tAlt+F4", ID_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&New Item\tCtrl+N", ID_NEW
MENUITEM SEPARATOR
MENUITEM "&Edit Item\tEnter", ID_EDIT
MENUITEM SEPARATOR
MENUITEM "&Delete Item\tDel", ID_DELETE
END
POPUP "&Help"
BEGIN
MENUITEM "&About...", ID_ABOUT
END
END
2 MENU
BEGIN
POPUP "Popup"
BEGIN
MENUITEM "&New Item\tCtrl+N", ID_NEW
MENUITEM SEPARATOR
MENUITEM "&Edit Item\tEnter", ID_EDIT
MENUITEM SEPARATOR
MENUITEM "&Delete Item\tDel", ID_DELETE
END
END
STRINGTABLE
BEGIN
IDS_TITLE, "Font Substitutes Editor"
IDS_FONTNAME, "Font Name"
IDS_SUBSTITUTE, "Substitute"
IDS_ENTERNAME, "(Please enter a font name...)"
IDS_IMPORT, "Import"
IDS_EXPORT, "Export"
IDS_CANTIMPORT, "Could not import."
IDS_CANTEXPORT, "Could not export."
IDS_INPFILTER, "Registry Files (*.reg)|*.reg|All Files (*.*)|*.*|"
IDS_OUTFILTER, "Registry Files (*.reg)|*.reg|"
IDS_QUERYUPDATE, "Substitutes info has been modified. Update registry now?"
IDS_ALREADYEXISTS, "The same name already exists."
IDS_ENTERNAME2, "Enter the font name."
IDS_QUERYDELETE, "Do you really want to delete this item?"
IDS_CANTOPENKEY, "Could not open the registry key."
IDS_REBOOTNOW, "Registry was updated. Reboot Windows now?"
IDS_ABOUT, "FontSub (Font Substitute Editor) Version 0.5\r\nby Katayama Hirofumi MZ and The ReactOS Team\r\n\r\nThis software was released under CC0 1.0 license."
END
IDD_ADD DIALOG 0, 0, 315, 65
STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU
CAPTION "Add Substitute Item"
FONT 10, "MS Shell Dlg"
BEGIN
CONTROL "Font &Name:", -1, "STATIC", SS_RIGHT | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 5, 55, 15
CONTROL "", cmb1, "ComboBoxEx32", CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 70, 6, 120, 120
CONTROL "", cmb3, "ComboBoxEx32", CBS_DROPDOWNLIST | WS_HSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 195, 6, 115, 120
CONTROL "&Substitute:", -1, "STATIC", SS_RIGHT | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 25, 55, 15
CONTROL "", cmb2, "ComboBoxEx32", CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 70, 26, 120, 120
CONTROL "", cmb4, "ComboBoxEx32", CBS_DROPDOWNLIST | WS_HSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 195, 26, 115, 120
CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 175, 45, 60, 14
CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 240, 45, 60, 14
END
IDD_EDIT DIALOG 0, 0, 315, 65
STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU
CAPTION "Edit Substitute Item"
FONT 10, "MS Shell Dlg"
BEGIN
CONTROL "Font &Name:", -1, "STATIC", SS_RIGHT | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 5, 55, 15
CONTROL "", edt1, "EDIT", ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_DISABLED | WS_BORDER | WS_TABSTOP, 70, 6, 120, 14
CONTROL "", cmb3, "ComboBoxEx32", CBS_DROPDOWNLIST | WS_HSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 195, 6, 115, 120
CONTROL "&Substitute:", -1, "STATIC", SS_RIGHT | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 25, 55, 15
CONTROL "", cmb2, "ComboBoxEx32", CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 70, 26, 120, 120
CONTROL "", cmb4, "ComboBoxEx32", CBS_DROPDOWNLIST | WS_HSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 195, 26, 115, 120
CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 175, 45, 60, 14
CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 240, 45, 60, 14
CONTROL "&Delete", psh1, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 5, 45, 60, 14
END

View file

@ -0,0 +1,106 @@
/* FontSub by Katayama Hirofumi MZ
*
* To the extent possible under law, the person who associated CC0 with
* FontSub has waived all copyright and related or neighboring rights
* to FontSub.
*
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
/* UTF-8 */
#pragma code_page(65001)
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
1 MENU
BEGIN
POPUP "ファイル(&F)"
BEGIN
MENUITEM "インポート(&I)...\tCtrl+O", ID_IMPORT
MENUITEM "エクスポート(&E)...\tCtrl+S", ID_EXPORT
MENUITEM SEPARATOR
MENUITEM "レジストリから再読み込み(&L)\tCtrl+L", ID_RELOAD
MENUITEM "レジストリの更新(&R)\tCtrl+U", ID_UPDATE_REGISTRY
MENUITEM SEPARATOR
MENUITEM "Regeditで開く(&E)", ID_OPEN_REGKEY
MENUITEM SEPARATOR
MENUITEM "終了(&X)\tAlt+F4", ID_EXIT
END
POPUP "編集(&E)"
BEGIN
MENUITEM "新しい項目(&N)\tCtrl+N", ID_NEW
MENUITEM SEPARATOR
MENUITEM "項目の編集(&E)\tEnter", ID_EDIT
MENUITEM SEPARATOR
MENUITEM "項目の削除(&D)\tDel", ID_DELETE
END
POPUP "ヘルプ(&H)"
BEGIN
MENUITEM "バージョン情報(&A)...", ID_ABOUT
END
END
2 MENU
BEGIN
POPUP "ポップアップ"
BEGIN
MENUITEM "新しい項目(&N)\tCtrl+N", ID_NEW
MENUITEM SEPARATOR
MENUITEM "項目の編集(&E)\tEnter", ID_EDIT
MENUITEM SEPARATOR
MENUITEM "項目の削除(&D)\tDel", ID_DELETE
END
END
STRINGTABLE
BEGIN
IDS_TITLE, "フォント代替エディタ"
IDS_FONTNAME, "フォント名"
IDS_SUBSTITUTE, "代替名"
IDS_ENTERNAME, "(フォント名を入力して下さい...)"
IDS_IMPORT, "インポート"
IDS_EXPORT, "エクスポート"
IDS_CANTIMPORT, "インポートできません。"
IDS_CANTEXPORT, "エクスポートできません。"
IDS_INPFILTER, "レジストリ ファイル (*.reg)|*.reg|すべてのファイル (*.*)|*.*|"
IDS_OUTFILTER, "レジストリ ファイル (*.reg)|*.reg|"
IDS_QUERYUPDATE, "代替情報は変更されています。レジストリを更新しますか?"
IDS_ALREADYEXISTS, "すでに同じ名前が存在します。"
IDS_ENTERNAME2, "フォント名を入力して下さい。"
IDS_QUERYDELETE, "本当にこの項目を削除したいですか?"
IDS_CANTOPENKEY, "レジストリキーが開けませんでした。"
IDS_REBOOTNOW, "レジストリが更新されました。Windowsを再起動しますか"
IDS_ABOUT, "FontSub (Font Substitute Editor) Version 0.5\r\nby Katayama Hirofumi MZ and The ReactOS Team\r\n\r\nThis software was released under CC0 1.0 license."
END
IDD_ADD DIALOG 0, 0, 315, 65
STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU
CAPTION "代替項目を追加する"
FONT 10, "MS UI Gothic"
BEGIN
CONTROL "フォント名(&N):", -1, "STATIC", SS_RIGHT | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 5, 55, 15
CONTROL "", cmb1, "ComboBoxEx32", CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 70, 6, 120, 120
CONTROL "", cmb3, "ComboBoxEx32", CBS_DROPDOWNLIST | WS_HSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 195, 6, 115, 120
CONTROL "代替名(&S):", -1, "STATIC", SS_RIGHT | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 25, 55, 15
CONTROL "", cmb2, "ComboBoxEx32", CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 70, 26, 120, 120
CONTROL "", cmb4, "ComboBoxEx32", CBS_DROPDOWNLIST | WS_HSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 195, 26, 115, 120
CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 175, 45, 60, 14
CONTROL "キャンセル", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 240, 45, 60, 14
END
IDD_EDIT DIALOG 0, 0, 315, 65
STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU
CAPTION "代替項目を編集する"
FONT 10, "MS UI Gothic"
BEGIN
CONTROL "フォント名(&N):", -1, "STATIC", SS_RIGHT | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 5, 55, 15
CONTROL "", edt1, "EDIT", ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_DISABLED | WS_BORDER | WS_TABSTOP, 70, 6, 120, 14
CONTROL "", cmb3, "ComboBoxEx32", CBS_DROPDOWNLIST | WS_HSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 195, 6, 115, 120
CONTROL "代替名(&S):", -1, "STATIC", SS_RIGHT | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 25, 55, 15
CONTROL "", cmb2, "ComboBoxEx32", CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 70, 26, 120, 120
CONTROL "", cmb4, "ComboBoxEx32", CBS_DROPDOWNLIST | WS_HSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 195, 26, 115, 120
CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 175, 45, 60, 14
CONTROL "キャンセル", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 240, 45, 60, 14
CONTROL "削除(&D)", psh1, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 5, 45, 60, 14
END

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -0,0 +1,40 @@
/* FontSub by Katayama Hirofumi MZ
*
* To the extent possible under law, the person who associated CC0 with
* FontSub has waived all copyright and related or neighboring rights
* to FontSub.
*
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
#define ID_NEW 100
#define ID_EDIT 101
#define ID_EXIT 102
#define ID_UPDATE_REGISTRY 103
#define ID_DELETE 104
#define ID_IMPORT 105
#define ID_EXPORT 106
#define ID_RELOAD 107
#define ID_ABOUT 108
#define ID_OPEN_REGKEY 109
#define IDD_ADD 1
#define IDD_EDIT 2
#define IDS_TITLE 1
#define IDS_FONTNAME 2
#define IDS_SUBSTITUTE 3
#define IDS_ENTERNAME 4
#define IDS_IMPORT 5
#define IDS_EXPORT 6
#define IDS_CANTIMPORT 7
#define IDS_CANTEXPORT 8
#define IDS_INPFILTER 9
#define IDS_OUTFILTER 10
#define IDS_QUERYUPDATE 11
#define IDS_ALREADYEXISTS 12
#define IDS_ENTERNAME2 13
#define IDS_QUERYDELETE 14
#define IDS_CANTOPENKEY 15
#define IDS_REBOOTNOW 16
#define IDS_ABOUT 17

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB