Thanks for using GroupDocs.Viewer for .NET.
GroupDocs.Viewer for .NET does not provide any builtin method to escape from multiple tags in case of merging HTML pages into single page. However, you can use your own logic to extract the child elements of all head tags, trim/remove head tags from HTML content of all pages and then add a single head tag in final html page (containing body of all HTML pages) that will contain the child elements extracted at first step. You can play with HTML content of each page using following code:
foreach (PageHtml page in pages)
string outputHtmlContent = page.HtmlContent;
// you can use outputHtmlContent to perform your required operations on HTML content
Secondly, when you use embedded resources then all the resources (including font faces) get embedded in HTML pages. However, when you do not use embedded resources then the API creates a separate directory named “resources” containing all the resources in it and adds reference of these resources in HTML page. Following code snippet shows how to set embedded resources.
//Instantiate the HtmlOptions object
HtmlOptions options = new HtmlOptions();
//to get html representations of pages with embedded resources
options.IsResourcesEmbedded = false;
List pages = htmlHandler.GetPages(guid, options);
If anything is not yet clear, please feel free to tell us.