New ReportingCloud Endpoint: List Available Fonts
ReportingCloud adds a fonts/list API endpoint that returns all font names available for template creation and merge operations. Developers use this to verify that uploaded RTF, DOC, or DOCX documents reference supported fonts. The .NET wrapper includes a corresponding ListFonts method.

We just rolled out a new Web API endpoint which returns available font names that can be used to create and merge templates for merge processes with ReportingCloud.
https://api.reporting.cloud/v1/fonts/list
The cross-browser HTML5-based template editor provides fonts that can be used to design merge templates. But ReportingCloud also provides a functionality to upload MS Word documents in standard formats such as RTF, DOC, and DOCX. In order to ensure that only supported fonts are used, this new endpoint can be used to retrieve this list.
The following curl call shows the usage of this endpoint:
curl -u username:password \
-X GET "https://api.reporting.cloud/v1/fonts/list
On success, it returns an array of available font names:
[
"Arial",
"Times New Roman",
"Segoe UI"
]
The .NET wrapper for ReportingCloud has been extended with the ListFonts method:
using System;
using System.Collections.Generic;
using TXTextControl.ReportingCloud;
class RCSamples
{
public static void ListFonts()
{
ReportingCloud rc = new ReportingCloud(
"username",
"password",
new Uri("https://api.reporting.cloud"));
// list all templates
string[] fonts = rc.ListFonts();
foreach (string font in fonts)
{
Console.WriteLine(font);
}
}
}
Test this on your own and create a trial account today.
Happy coding!
Cloud
Are we moving to the cloud? This question is changing from "if" to "when" and "how". Text Control ReportingCloud brings complete reporting functionality to the cloud so all developers can use it, irrespective of the platform or language they're using. Its highly RESTful API can be used to merge Microsoft Word compatible templates with JSON data from all clients including .NET, Javascript, PHP, Node.JS, jQuery, Ruby, Python, Android, Java and iOS.
Related Posts
Proofing Tools Available As ReportingCloud Web API Endpoints
ReportingCloud introduces three proofing Web API endpoints for cloud-based spell checking. The proofing/check endpoint detects misspelled words and duplicates, proofing/suggestions returns ranked…
All Google Fonts Now Available in ReportingCloud
ReportingCloud now includes over 2000 Google Fonts on its servers, ensuring consistent rendering across merged documents. The fonts/list endpoint returns all available font names for programmatic…
New ReportingCloud MergeSettings Option: Merge HTML Content into Merge Fields
ReportingCloud adds a mergeHtml property to MergeSettings that accepts formatted HTML inside merge field data. Supported tags include strong, em, and u wrapped in an html root element. The…
What Can You Do with the ReportingCloud RESTful Service?
ReportingCloud merges MS Word templates with JSON data via the /v1/document/merge endpoint, supporting nested master-detail blocks, merge settings, and output as PDF, DOCX, RTF, or HTML.…
Render Document Pages As Images Using the ReportingCloud REST Web API
The ReportingCloud /v1/templates/thumbnails endpoint renders document pages as PNG, JPG, BMP, or GIF images. Query parameters control zoom factor from 1-400, page range, and output format.…
